Skip to content

Commit

Permalink
fix: Return response
Browse files Browse the repository at this point in the history
  • Loading branch information
sprajosh committed Jun 5, 2024
1 parent 566eb3d commit 25af3df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions agentops/llm_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,8 @@ def _handle_response_ollama(self, response, kwargs, init_timestamp):
self.llm_event.prompt_tokens = 0
self.llm_event.completion_tokens = 0

return response

def override_openai_v1_completion(self):
from openai.resources.chat import completions

Expand Down

0 comments on commit 25af3df

Please sign in to comment.