feat: only send user message as part of request (#957)

This commit is contained in:
Jeremy 2025-04-26 01:09:01 -07:00 committed by GitHub
parent 9279135355
commit f18af236a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 90 additions and 54 deletions

View file

@ -23,7 +23,7 @@ export const myProvider = isTestEnvironment
})
: customProvider({
languageModels: {
'chat-model': xai('grok-2-1212'),
'chat-model': xai('grok-2-vision-1212'),
'chat-model-reasoning': wrapLanguageModel({
model: xai('grok-3-mini-beta'),
middleware: extractReasoningMiddleware({ tagName: 'think' }),