Skip to content

Commit

Permalink
⚡️ small improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
sestinj committed May 23, 2024
1 parent 89549d6 commit a364ceb
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 21 deletions.
4 changes: 3 additions & 1 deletion docs/static/schemas/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,8 @@
"enum": [
"chat-bison-001",
"gemini-pro",
"gemini-1.5-pro-latest"
"gemini-1.5-pro-latest",
"gemini-1.5-flash-latest"
]
}
}
Expand Down Expand Up @@ -985,6 +986,7 @@
"chat-bison-001",
"gemini-pro",
"gemini-1.5-pro-latest",
"gemini-1.5-flash-latest",
"mistral-tiny",
"mistral-small",
"mistral-medium",
Expand Down
4 changes: 3 additions & 1 deletion extensions/intellij/src/main/resources/config_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,8 @@
"enum": [
"chat-bison-001",
"gemini-pro",
"gemini-1.5-pro-latest"
"gemini-1.5-pro-latest",
"gemini-1.5-flash-latest"
]
}
}
Expand Down Expand Up @@ -985,6 +986,7 @@
"chat-bison-001",
"gemini-pro",
"gemini-1.5-pro-latest",
"gemini-1.5-flash-latest",
"mistral-tiny",
"mistral-small",
"mistral-medium",
Expand Down
4 changes: 3 additions & 1 deletion extensions/vscode/continue_rc_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,8 @@
"enum": [
"chat-bison-001",
"gemini-pro",
"gemini-1.5-pro-latest"
"gemini-1.5-pro-latest",
"gemini-1.5-flash-latest"
]
}
}
Expand Down Expand Up @@ -1092,6 +1093,7 @@
"chat-bison-001",
"gemini-pro",
"gemini-1.5-pro-latest",
"gemini-1.5-flash-latest",
"mistral-tiny",
"mistral-small",
"mistral-medium",
Expand Down
16 changes: 0 additions & 16 deletions extensions/vscode/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion extensions/vscode/src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,10 @@ const commandsMap: (
);
},
"continue.fixCode": async () => {
streamInlineEdit("fix", "Fix this code");
streamInlineEdit(
"fix",
"Fix this code. If it is already 100% correct, simply rewrite the code.",
);
},
"continue.optimizeCode": async () => {
streamInlineEdit("optimize", "Optimize this code");
Expand Down
2 changes: 1 addition & 1 deletion gui/src/pages/modelconfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ function ModelConfig() {
{(modelInfo?.collectInputFor?.filter((d) => !d.required).length ||
0) > 0 && (
<details>
<summary className="mb-2">
<summary className="mb-2 cursor-pointer">
<b>Advanced (optional)</b>
</summary>

Expand Down

0 comments on commit a364ceb

Please sign in to comment.