Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
patcher9 committed Mar 14, 2024
1 parent cf128b5 commit ad413a3
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/mistral.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,8 @@ export default function initMistral({ llm, dokuUrl, apiKey, environment, applica
finishReason: response.choices[0].finish_reason,
response: String(response.choices[0].message.content),
};

console.log(data)
//await sendData(data, dokuUrl, apiKey);

await sendData(data, dokuUrl, apiKey);

return response;
};
Expand Down Expand Up @@ -135,8 +134,7 @@ export default function initMistral({ llm, dokuUrl, apiKey, environment, applica
const end = performance.now();
data.requestDuration = (end - start) / 1000;

console.log(data);
//await sendData(data, dokuUrl, apiKey);
await sendData(data, dokuUrl, apiKey);

return response;
};
Expand Down Expand Up @@ -165,8 +163,7 @@ export default function initMistral({ llm, dokuUrl, apiKey, environment, applica
totalTokens: response.usage.total_tokens,
};

console.log(data);
//await sendData(data, dokuUrl, apiKey);
await sendData(data, dokuUrl, apiKey);

return response;
};
Expand Down

0 comments on commit ad413a3

Please sign in to comment.