Remove blocks as model and switch automatically (#504)

This commit is contained in:
Jeremy 2024-11-08 18:12:54 +03:00 committed by GitHub
parent 58117f932f
commit c5c85ca7e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 11 deletions

View file

@ -20,12 +20,6 @@ export const models: Array<Model> = [
apiIdentifier: 'gpt-4o',
description: 'For complex, multi-step tasks',
},
{
id: 'gpt-4o-blocks',
label: 'GPT 4o with Blocks',
apiIdentifier: 'gpt-4o',
description: 'Collaborate with writing',
},
] as const;
export const DEFAULT_MODEL_NAME: string = 'gpt-4o-mini';

View file

@ -9,7 +9,6 @@ export const blocksPrompt = `
- When explicitly requested to create a document
**When NOT to use \`createDocument\`:**
- For short content (<10 lines)
- For informational/explanatory content
- For conversational responses
- When asked to keep it in chat
@ -24,3 +23,5 @@ export const blocksPrompt = `
export const regularPrompt =
'You are a friendly assistant! Keep your responses concise and helpful.';
export const systemPrompt = `${regularPrompt}\n\n${blocksPrompt}`;