💄 small updates to model selection
This commit is contained in:
parent
7569202a73
commit
f69ec8fd0f
2 changed files with 3 additions and 8 deletions
|
|
@ -229,7 +229,7 @@ function ModelConfig() {
|
|||
});
|
||||
}
|
||||
|
||||
client?.addModelForRole("*", {
|
||||
client?.addModelForRole("default", {
|
||||
...pkg.params,
|
||||
...modelInfo.params,
|
||||
..._.merge(
|
||||
|
|
@ -262,7 +262,7 @@ function ModelConfig() {
|
|||
: parseFloat(formMethods.watch(d.key));
|
||||
}
|
||||
|
||||
client?.addModelForRole("*", {
|
||||
client?.addModelForRole("default", {
|
||||
...modelInfo.packages[0]?.params,
|
||||
...modelInfo.params,
|
||||
...formParams,
|
||||
|
|
@ -270,7 +270,7 @@ function ModelConfig() {
|
|||
navigate("/");
|
||||
}}
|
||||
>
|
||||
<h3 className="text-center my-2">Configure Model in config.py</h3>
|
||||
<h3 className="text-center my-2">Configure Model in config.json</h3>
|
||||
</CustomModelButton>
|
||||
</GridDiv>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -38,11 +38,6 @@ default_config_json = """\
|
|||
"description": "Edit highlighted code",
|
||||
"step": "EditHighlightedCodeStep"
|
||||
},
|
||||
{
|
||||
"name": "config",
|
||||
"description": "Customize Continue",
|
||||
"step": "OpenConfigStep"
|
||||
},
|
||||
{
|
||||
"name": "comment",
|
||||
"description": "Write comments for the highlighted code",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue