mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
fix benchmark.py tutorial
This commit is contained in:
parent
feb814a76e
commit
721d34bda2
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ def main(system_prompt):
|
|||
|
||||
end = time.time()
|
||||
total_time = end - start_time
|
||||
cost = completion_cost(response)
|
||||
cost = completion_cost(completion_response=response)
|
||||
raw_response = response['choices'][0]['message']['content']
|
||||
|
||||
data.append({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue