Merge pull request #4518 from continuedev/dallin/autodetect-label
Better autodetect label
This commit is contained in:
commit
2e76ba7608
5 changed files with 11 additions and 6 deletions
|
|
@ -272,7 +272,7 @@ async function intermediateToFinalConfig(
|
|||
{
|
||||
...desc,
|
||||
model: modelName,
|
||||
title: `${llm.title} - ${modelName}`,
|
||||
title: modelName,
|
||||
},
|
||||
ide.readFile.bind(ide),
|
||||
uniqueId,
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ async function autodetectModels(
|
|||
{
|
||||
...model,
|
||||
model: modelName,
|
||||
name: `${llm.title} - ${modelName}`,
|
||||
name: modelName,
|
||||
},
|
||||
uniqueId,
|
||||
ideSettings,
|
||||
|
|
|
|||
6
core/util/text.ts
Normal file
6
core/util/text.ts
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
export const capitalizeFirstLetter = (val: string) => {
|
||||
if (val.length === 0) {
|
||||
return "";
|
||||
}
|
||||
return val[0].toUpperCase() + val.slice(1);
|
||||
};
|
||||
4
extensions/vscode/package-lock.json
generated
4
extensions/vscode/package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "continue",
|
||||
"version": "1.1.3",
|
||||
"version": "1.1.4",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "continue",
|
||||
"version": "1.1.3",
|
||||
"version": "1.1.4",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@continuedev/fetch": "^1.0.3",
|
||||
|
|
|
|||
|
|
@ -1,11 +1,10 @@
|
|||
import { Transition } from "@headlessui/react";
|
||||
import { Listbox, Transition } from "@headlessui/react";
|
||||
import {
|
||||
CheckIcon,
|
||||
ChevronUpDownIcon,
|
||||
CubeIcon,
|
||||
} from "@heroicons/react/24/outline";
|
||||
import { Fragment } from "react";
|
||||
import { Listbox } from "@headlessui/react";
|
||||
import styled from "styled-components";
|
||||
import {
|
||||
defaultBorderRadius,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue