Skip to content

Commit cfd482d

Browse files
authored
Bump version and minor agent updates (#56)
1 parent 79c290c commit cfd482d

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

front_end/panels/ai_chat/core/AgentService.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,12 @@ export class AgentService extends Common.ObjectWrapper.ObjectWrapper<{
387387
await this.initialize('', config.mainModel, config.miniModel || '', config.nanoModel || '');
388388
}
389389

390+
// In normal mode, check if graph needs reinitialization (e.g., after config change)
391+
if (!BUILD_CONFIG.AUTOMATED_MODE && (!this.#isInitialized || !this.#graph)) {
392+
const config = this.#configManager.getConfiguration();
393+
await this.initialize(this.#apiKey, config.mainModel, config.miniModel || '', config.nanoModel || '');
394+
}
395+
390396
// Create a user message
391397
const userMessage = createUserMessage(text, imageInput);
392398

front_end/panels/ai_chat/core/BaseOrchestratorAgent.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,9 @@ export function getAgentTools(agentType: string): Array<Tool<any, any>> {
532532
ToolRegistry.getToolInstance('research_agent') || (() => { throw new Error('research_agent tool not found'); })(),
533533
new FinalizeWithCritiqueTool(),
534534
new SearchVisitHistoryTool(),
535+
new RenderWebAppTool(),
536+
new GetWebAppDataTool(),
537+
new RemoveWebAppTool(),
535538
new CreateFileTool(),
536539
new UpdateFileTool(),
537540
new DeleteFileTool(),

front_end/panels/ai_chat/core/Version.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
// found in the LICENSE file.
44

55
export const VERSION_INFO = {
6-
version: '0.3.4',
7-
buildDate: '2025-09-19',
6+
version: '0.4.0',
7+
buildDate: '2025-10-14',
88
channel: 'stable'
99
} as const;
1010

0 commit comments

Comments
 (0)