feat(llm): add new models for xAI and Google providers

Add 'grok-3-beta' to xAI provider and 'gemini-2.5-flash-preview-04-17' to Google provider. Also, ensure file saving when content is updated in WorkbenchStore and update streaming indicator styling in chat messages.
This commit is contained in:
KevIsDev
2025-04-18 13:45:11 +01:00
parent c08be2f1fb
commit adcdc8efdf
4 changed files with 12 additions and 1 deletions

View File

@@ -513,6 +513,10 @@ export class WorkbenchStore {
this.#editorStore.updateFile(fullPath, data.action.content);
if (!isStreaming && data.action.content) {
await this.saveFile(fullPath);
}
if (!isStreaming) {
await artifact.runner.runAction(data);
this.resetAllFileModifications();