mirror of
https://github.com/kennethnym/aris.git
synced 2026-03-25 11:21:17 +00:00
Compare commits
1 Commits
fix/llm-cl
...
feat/get-s
| Author | SHA1 | Date | |
|---|---|---|---|
|
af626b9952
|
@@ -50,13 +50,11 @@ export function createLlmClient(config: LlmClientConfig): LlmClient {
|
||||
schema: enhancementResultJsonSchema,
|
||||
},
|
||||
},
|
||||
reasoning: { effort: "none" },
|
||||
stream: false,
|
||||
},
|
||||
})
|
||||
|
||||
const message = response.choices?.[0]?.message
|
||||
const content = message?.content ?? message?.reasoning
|
||||
const content = response.choices?.[0]?.message?.content
|
||||
if (typeof content !== "string") {
|
||||
console.warn("[enhancement] LLM returned no content in response")
|
||||
return null
|
||||
|
||||
Reference in New Issue
Block a user