mirror of
https://github.com/R0m1k3/CollectFlow.git
synced 2026-10-15 19:28:52 +02:00
feat: Implement AI copilot product analysis logic and OpenRouter integration.
This commit is contained in:
1 parent
90c38bca8b
commit
b92ed905d7
3 files changed
+31
-15
No files matched your search
@@ -44,7 +44,7 @@ export class OpenRouterClient {
|
||||
const content = data.choices?.[0]?.message?.content ?? "";
|
||||
|
||||
return {
|
||||
insight: content,
|
||||
insight: AnalysisEngine.cleanInsight(content),
|
||||
codein: p.codein,
|
||||
recommandation: AnalysisEngine.extractRecommendation(content)
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user