Skip to content

Commit

Permalink
removing console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Catrovitch committed Aug 1, 2024
1 parent bf860ce commit 22108c6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/server/services/llm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,11 @@ export async function askLlm(
asJson?: boolean
): Promise<Message> {
const model = 'gpt-4o'
console.log('BEFORE GET COMPLETION EVENTS')
const events = await getCompletionEvents({
model,
messages: allMessages,
asJson,
})
console.log('AFTER GET COMPLETION EVENTS')
const content = await eventStreamToText(events)
const assistantMessage: Message = {
role: 'assistant',
Expand Down

0 comments on commit 22108c6

Please sign in to comment.