Merge branch 'lectrician1-add-vision' #11
Annotations
8 errors and 1 warning
src/components/Chat/ChatContent/Message/NewMessageButton.tsx#L41
Type 'string' is not assignable to type 'ContentInterface[]'.
|
src/components/Chat/ChatContent/Message/View/EditView.tsx#L256
Element implicitly has an 'any' type because expression of type 'ModelOptions | ""' can't be used to index type 'ModelTypes'.
|
src/components/ConfigMenu/ConfigMenu.tsx#L153
Property 'gpt-4o' does not exist on type '{ 'gpt-3.5-turbo': number; 'gpt-3.5-turbo-0301': number; 'gpt-3.5-turbo-0613': number; 'gpt-3.5-turbo-16k': number; 'gpt-3.5-turbo-16k-0613': number; 'gpt-3.5-turbo-1106': number; 'gpt-3.5-turbo-0125': number; ... 8 more ...; 'gpt-4-vision-preview': number; }'. Did you mean 'gpt-4'?
|
src/components/TokenCount/TokenCount.tsx#L25
Property 'gpt-4o' does not exist on type '{ 'gpt-3.5-turbo': { prompt: { price: number; unit: number; }; completion: { price: number; unit: number; }; }; 'gpt-3.5-turbo-0301': { prompt: { price: number; unit: number; }; completion: { price: number; unit: number; }; }; ... 13 more ...; 'gpt-4-vision-preview': { ...; }; }'. Did you mean 'gpt-4'?
|
src/components/TokenCount/TokenCount.tsx#L26
Property 'gpt-4o' does not exist on type '{ 'gpt-3.5-turbo': { prompt: { price: number; unit: number; }; completion: { price: number; unit: number; }; }; 'gpt-3.5-turbo-0301': { prompt: { price: number; unit: number; }; completion: { price: number; unit: number; }; }; ... 13 more ...; 'gpt-4-vision-preview': { ...; }; }'. Did you mean 'gpt-4'?
|
src/constants/chat.ts#L132
Type '{ 'gpt-3.5-turbo': "text"; 'gpt-4-vision-preview': "image"; }' is missing the following properties from type 'ModelTypes': "gpt-4o", "gpt-4o-2024-05-13", "gpt-4", "gpt-4-32k", and 7 more.
|
src/utils/import.ts#L106
Type 'string' is not assignable to type 'ContentInterface[]'.
|
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
This job failed
Loading