fix(ai): use correct llama.cpp model name
- Update model to qwen2.5-coder-32b-instruct-Q4_K_M - Match actual model available in llama.cpp on port 8081 Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -57,7 +57,7 @@ export async function POST(
|
||||
let res: Awaited<ReturnType<typeof client.chat.completions.create>>
|
||||
try {
|
||||
res = await client.chat.completions.create({
|
||||
model: 'qwen2.5-coder-8k:latest',
|
||||
model: 'qwen2.5-coder-32b-instruct-Q4_K_M',
|
||||
max_tokens: 2048,
|
||||
messages: [
|
||||
{
|
||||
@@ -105,7 +105,7 @@ Provide 3–5 Why steps drilling from immediate cause to root cause. Frame CAPA
|
||||
await withUser(session.sub, async tx => {
|
||||
await writeAuditLog(tx, 'incidents', id, 'ai_rca_draft', {
|
||||
root_cause_summary: draft.root_cause_summary as string,
|
||||
model: 'qwen2.5-coder-8k:latest',
|
||||
model: 'qwen2.5-coder-32b-instruct-Q4_K_M',
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user