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

Commit

Permalink
update cohere
Browse files Browse the repository at this point in the history
  • Loading branch information
patcher9 committed Mar 24, 2024
1 parent 1c4ac64 commit 3083317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/cohere.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export default function initCohere({
prompt: prompt,
promptTokens: response.meta["billed_units"]["output_tokens"],
completionTokens: response.meta["billed_units"]["input_tokens"],
totalTokens: response.token_count["billed_units"],
totalTokens: response.token_count["billed_tokens"],
response: response.text,
};

Expand Down

0 comments on commit 3083317

Please sign in to comment.