Skip to content

Commit

Permalink
Removed useless option
Browse files Browse the repository at this point in the history
  • Loading branch information
aHenryJard committed Jan 28, 2025
1 parent dbad1ed commit a9b15c5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion opencti-platform/opencti-graphql/src/database/ai-llm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ export const queryMistralAi = async (busId: string | null, question: string, use
const response = await (client as Mistral)?.chat.stream({

Check warning on line 48 in opencti-platform/opencti-graphql/src/database/ai-llm.ts

View check run for this annotation

Codecov / codecov/patch

opencti-platform/opencti-graphql/src/database/ai-llm.ts#L48

Added line #L48 was not covered by tests
model: AI_MODEL,
messages: [{ role: 'user', content: question }],
safePrompt: undefined,
});
let content = '';
if (response) {
Expand Down

0 comments on commit a9b15c5

Please sign in to comment.