Fix: System-wide type hardening and V3 API alignment

This commit is contained in:
Scott Idem
2026-01-22 19:22:16 -05:00
parent 9de1d4b23e
commit 4976f2d897
11 changed files with 87 additions and 56 deletions

View File

@@ -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) => {