diff --git a/src/vs/workbench/contrib/chat/browser/media/chat.css b/src/vs/workbench/contrib/chat/browser/media/chat.css index 97c1103e53d410..f075098745aa7b 100644 --- a/src/vs/workbench/contrib/chat/browser/media/chat.css +++ b/src/vs/workbench/contrib/chat/browser/media/chat.css @@ -271,6 +271,10 @@ line-height: 1.3rem; } +.interactive-item-container .value .rendered-markdown img { + max-width: 100%; +} + .interactive-item-container .monaco-tokenized-source, .interactive-item-container code { font-family: var(--monaco-monospace-font); diff --git a/src/vs/workbench/contrib/chat/common/chatAgents.ts b/src/vs/workbench/contrib/chat/common/chatAgents.ts index 3fc918226a5118..cd5e234a25ca14 100644 --- a/src/vs/workbench/contrib/chat/common/chatAgents.ts +++ b/src/vs/workbench/contrib/chat/common/chatAgents.ts @@ -503,5 +503,9 @@ export function reviveSerializedAgent(raw: ISerializableChatAgentData): IChatAge agent.extensionDisplayName = ''; } + if (!('extensionId' in agent)) { + agent.extensionId = new ExtensionIdentifier(''); + } + return revive(agent); } diff --git a/src/vscode-dts/vscode.d.ts b/src/vscode-dts/vscode.d.ts index e33496f4bfe9d8..775767e7f192a3 100644 --- a/src/vscode-dts/vscode.d.ts +++ b/src/vscode-dts/vscode.d.ts @@ -18690,6 +18690,7 @@ declare module 'vscode' { /** * Push a markdown part to this stream. Short-hand for * `push(new ChatResponseMarkdownPart(value))`. + * Note: Only the first 100,000 characters will be rendered. * * @see {@link ChatResponseStream.push} * @param value A markdown string or a string that should be interpreted as markdown. The boolean form of {@link MarkdownString.isTrusted} is NOT supported. @@ -18770,6 +18771,7 @@ declare module 'vscode' { /** * Create a new ChatResponseMarkdownPart. + * Note: Only the first 100,000 characters will be rendered. * * @param value A markdown string or a string that should be interpreted as markdown. The boolean form of {@link MarkdownString.isTrusted} is NOT supported. */