mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
fix: bug fix when n>1 passed in
This commit is contained in:
parent
2004b449e8
commit
253e8d27db
8 changed files with 119 additions and 43 deletions
|
@ -161,7 +161,7 @@ def completion(
|
|||
raise TogetherAIError(
|
||||
message=json.dumps(completion_response["output"]), status_code=response.status_code
|
||||
)
|
||||
|
||||
|
||||
completion_text = completion_response["output"]["choices"][0]["text"]
|
||||
|
||||
## CALCULATING USAGE - baseten charges on time, not tokens - have some mapping of cost here.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue