You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- File menu.ts refactored
- Predefined lists added for completion models, chat models, embeddings models, tools models and for envs
- Bugfixes
- If chat model is not selected, but a tools model is selected, it is used for generating commit messages, editing code with AI and in search_source tool
constshouldSelectModel=awaitUtils.showUserChoiceDialog("Select a chat model or an env with chat model to chat with AI.","Select")
65
+
constshouldSelectModel=awaitUtils.showUserChoiceDialog("Select a chat or tools model run by llama-server or an env with chat or tools model run on llama-server to chat with AI.","Select")
vscode.window.showInformationMessage("After the chat model is loaded, try again opening Chat with AI.")
68
+
vscode.window.showInformationMessage("After the chat/tools model is loaded, try again opening Chat with AI.")
67
69
return;
68
70
}else{
69
-
vscode.window.showErrorMessage("No endpoint for the chat model. Select an env with chat model or enter the endpoint of a running llama.cpp server with chat model in setting endpoint_chat. ")
71
+
vscode.window.showErrorMessage("No endpoint for the chat or tools model. Select a chat or tools model run on llama-server or an env with chat or tools model or enter the endpoint of a running llama.cpp server with chat model in setting endpoint_chat. ")
Copy file name to clipboardExpand all lines: src/constants.ts
+168-3Lines changed: 168 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,172 @@ export enum AGENT_NAME {
84
84
}
85
85
86
86
exportconstUI_TEXT_KEYS={
87
-
// Note: These are keys for getUiText calls; actual strings not extracted here to avoid touching getUiText parameters.
88
-
// Example: selectEnv: 'Select/start env...',
89
-
// Map all relevant keys as needed in future phases.
87
+
// Menu separators and sections
88
+
actions: "Actions",
89
+
entities: "Entities",
90
+
maintenance: "Maintenance",
91
+
help: "Help",
92
+
93
+
// Env related
94
+
selectStartEnv: "Select/start env...",
95
+
envSelectDescription: "Stops the currently running models and starts the selected env - (a predefined group of models for completion, chat, embeddings and tools).",
96
+
deselectStopEnv: "Deselect/stop env and models",
97
+
deselectStopEnvDescription: "Deselects/stops env, completion, chat, embeddings and tools models",
98
+
showSelectedEnv: "Show selected env",
99
+
showSelectedEnvDescription: "Shows details about the selected env",
100
+
addEnv: "Add env...",
101
+
addEnvDescription: "Opens a panel for adding an env.",
constshouldSelectModel=awaitUtils.showUserChoiceDialog("Select a chat model or an env with chat model to generate a commit message.","Select")
23
+
constshouldSelectModel=awaitUtils.showUserChoiceDialog("Select a chat or tools model or an env with chat or tools model to generate a commit message.","Select")
22
24
if(shouldSelectModel){
23
25
this.app.menu.showEnvView();
24
-
vscode.window.showInformationMessage("After the chat model is loaded, try again generating commit message.")
26
+
vscode.window.showInformationMessage("After the chat/tools model is loaded, try again generating commit message.")
25
27
return;
26
28
}
27
29
else{
28
-
vscode.window.showErrorMessage("No endpoint for the chat model. Select a chat model or an env with chat model or enter the endpoint of a running llama.cpp server with chat model in setting endpoint_chat. ")
30
+
vscode.window.showErrorMessage("No endpoint for the chat model. Select a chat or tools model or an env with chat or tools model or enter the endpoint of a running llama.cpp server with chat model in setting endpoint_chat. ")
0 commit comments