diff --git a/Components/AssistantMessage.svelte b/Components/AssistantMessage.svelte new file mode 100644 index 0000000..2a281f2 --- /dev/null +++ b/Components/AssistantMessage.svelte @@ -0,0 +1,292 @@ + + +
+ + diff --git a/Components/ChatArea.svelte b/Components/ChatArea.svelte index d2df80f..1c08f3e 100644 --- a/Components/ChatArea.svelte +++ b/Components/ChatArea.svelte @@ -1,19 +1,15 @@ + + + + diff --git a/__tests__/AIClasses/OpenAIConversationNamingAgent.test.ts b/__tests__/AIClasses/OpenAIConversationNamingAgent.test.ts index c14d83b..b954301 100644 --- a/__tests__/AIClasses/OpenAIConversationNamingAgent.test.ts +++ b/__tests__/AIClasses/OpenAIConversationNamingAgent.test.ts @@ -19,7 +19,7 @@ describe('OpenAIConversationNamingAgent', () => { // Mock SettingsService mockSettingsService = { settings: { - model: AIProviderModel.GPT_5_4_Nano, + model: AIProviderModel.GPT_5_6_Luna, apiKeys: { claude: 'test-claude-key', openai: 'test-openai-key', diff --git a/__tests__/Services/ExecutionAgent.test.ts b/__tests__/Services/ExecutionAgent.test.ts index 35b3bd4..e2e6525 100644 --- a/__tests__/Services/ExecutionAgent.test.ts +++ b/__tests__/Services/ExecutionAgent.test.ts @@ -8,6 +8,7 @@ import { AIToolResponse } from '../../AIClasses/ToolDefinitions/AIToolResponse'; import { AIToolResponsePayload } from '../../AIClasses/ToolDefinitions/AIToolResponsePayload'; import type { ExecutionStep } from '../../Types/ExecutionStep'; import { Artifact } from '../../Conversations/Artifact'; +import { ArtifactAction } from 'Enums/ArtifactAction'; /** * UNIT TESTS - ExecutionAgent @@ -406,7 +407,7 @@ describe('ExecutionAgent - Unit Tests', () => { instruction: 'Create new file with content' }; - const artifact = new Artifact('new-note.md', 'text/markdown', '', '# New Note\n\nContent here'); + const artifact = new Artifact('new-note.md', 'text/markdown', ArtifactAction.Create, '', '# New Note\n\nContent here'); mockAIToolService.performAITool.mockResolvedValueOnce( new AIToolResponse( AITool.WriteVaultFile,