Skip to content

Commit

Permalink
more review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
eneufeld committed Oct 11, 2024
1 parent 53fa283 commit c9c8b65
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"@theia/ai-code-completion": "1.54.0",
"@theia/ai-core": "1.54.0",
"@theia/ai-history": "1.54.0",
"@theia/ai-ollama": "1.54.0",
"@theia/ai-llamafile": "1.54.0",
"@theia/ai-ollama": "1.54.0",
"@theia/ai-openai": "1.54.0",
"@theia/ai-terminal": "1.54.0",
"@theia/ai-workspace-agent": "1.54.0",
Expand Down
1 change: 1 addition & 0 deletions examples/electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"@theia/ai-code-completion": "1.54.0",
"@theia/ai-core": "1.54.0",
"@theia/ai-history": "1.54.0",
"@theia/ai-llamafile": "1.54.0",
"@theia/ai-ollama": "1.54.0",
"@theia/ai-openai": "1.54.0",
"@theia/ai-terminal": "1.54.0",
Expand Down
3 changes: 3 additions & 0 deletions examples/electron/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
{
"path": "../../packages/ai-history"
},
{
"path": "../../packages/ai-llamafile"
},
{
"path": "../../packages/ai-ollama"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export class LlamafileCommandContribution implements CommandContribution {
this.llamafileManager.startServer(result.label);
} catch (error) {
console.error('Something went wrong during the llamafile start.', error);
this.messageService.error(`Something went wrong during the llamafile start: ${error.message}.\nFor more information, see the console.`);
}
}
}));
Expand Down

0 comments on commit c9c8b65

Please sign in to comment.