Fix: System-wide type hardening and V3 API alignment
This commit is contained in:
@@ -94,11 +94,11 @@
|
||||
|
||||
try {
|
||||
ae_promises = ai_client.chat.completions.create({
|
||||
model: model,
|
||||
model: model || 'dgrzone-deepseek-8b-quick',
|
||||
max_tokens: maxTokens,
|
||||
temperature: temperature,
|
||||
messages: [
|
||||
{ role: 'system', content: systemPrompt },
|
||||
{ role: 'system', content: systemPrompt || 'You are a helpful assistant.' },
|
||||
{ role: 'user', content: content }
|
||||
]
|
||||
}).then((resp) => {
|
||||
|
||||
Reference in New Issue
Block a user