From 33fae28b4e696bbb0b959b43d28481f7a84e545a Mon Sep 17 00:00:00 2001 From: Jonas Helming Date: Mon, 16 Dec 2024 12:12:30 +0100 Subject: [PATCH] Add anthropic and mcp to electron example (#14627) fixed #14626 Signed-off-by: Jonas Helming --- examples/electron/package.json | 2 ++ examples/electron/tsconfig.json | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/examples/electron/package.json b/examples/electron/package.json index 374b2b5246650..7927dc77771d3 100644 --- a/examples/electron/package.json +++ b/examples/electron/package.json @@ -26,6 +26,7 @@ } }, "dependencies": { + "@theia/ai-anthropic": "1.56.0", "@theia/ai-chat": "1.56.0", "@theia/ai-chat-ui": "1.56.0", "@theia/ai-code-completion": "1.56.0", @@ -33,6 +34,7 @@ "@theia/ai-history": "1.56.0", "@theia/ai-huggingface": "1.56.0", "@theia/ai-llamafile": "1.56.0", + "@theia/ai-mcp": "1.56.0", "@theia/ai-ollama": "1.56.0", "@theia/ai-openai": "1.56.0", "@theia/ai-scanoss": "1.56.0", diff --git a/examples/electron/tsconfig.json b/examples/electron/tsconfig.json index 854b6ffb87e0b..0ba17d4abb0b0 100644 --- a/examples/electron/tsconfig.json +++ b/examples/electron/tsconfig.json @@ -11,6 +11,9 @@ { "path": "../../dev-packages/cli" }, + { + "path": "../../packages/ai-anthropic" + }, { "path": "../../packages/ai-chat" }, @@ -32,6 +35,9 @@ { "path": "../../packages/ai-llamafile" }, + { + "path": "../../packages/ai-mcp" + }, { "path": "../../packages/ai-ollama" },