rm small suffix, more quote fixes
This commit is contained in:
parent
6e6cf7830a
commit
4cfe5b90d5
4 changed files with 22 additions and 24 deletions
|
|
@ -1,4 +1,4 @@
|
|||
export const DEFAULT_CHAT_MODEL: string = 'chat-model-small';
|
||||
export const DEFAULT_CHAT_MODEL: string = 'chat-model';
|
||||
|
||||
interface ChatModel {
|
||||
id: string;
|
||||
|
|
@ -8,9 +8,9 @@ interface ChatModel {
|
|||
|
||||
export const chatModels: Array<ChatModel> = [
|
||||
{
|
||||
id: 'chat-model-small',
|
||||
name: 'Small model',
|
||||
description: 'Small model for fast, lightweight tasks',
|
||||
id: 'chat-model',
|
||||
name: 'Chat model',
|
||||
description: 'Primary model for all-purpose chat',
|
||||
},
|
||||
{
|
||||
id: 'chat-model-reasoning',
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@ import {
|
|||
export const myProvider = isTestEnvironment
|
||||
? customProvider({
|
||||
languageModels: {
|
||||
'chat-model-small': chatModel,
|
||||
'chat-model-large': chatModel,
|
||||
'chat-model': chatModel,
|
||||
'chat-model-reasoning': reasoningModel,
|
||||
'title-model': titleModel,
|
||||
'artifact-model': artifactModel,
|
||||
|
|
@ -26,7 +25,7 @@ export const myProvider = isTestEnvironment
|
|||
})
|
||||
: customProvider({
|
||||
languageModels: {
|
||||
'chat-model-small': xai('grok-2-1212'),
|
||||
'chat-model': xai('grok-2-1212'),
|
||||
'chat-model-reasoning': wrapLanguageModel({
|
||||
model: fireworks('accounts/fireworks/models/deepseek-r1'),
|
||||
middleware: extractReasoningMiddleware({ tagName: 'think' }),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue