Skip to content

Commit

Permalink
Tested openai
Browse files Browse the repository at this point in the history
  • Loading branch information
HowieG committed May 10, 2024
1 parent 7a83865 commit 609e2a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agentops/llm_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def generator():

# v0.0.0 responses are dicts
try:
self.llm_event.returns = response # TODO: test
self.llm_event.returns = response
self.llm_event.agent_id = check_call_stack_for_agent_id()
self.llm_event.prompt = kwargs["messages"]
self.llm_event.prompt_tokens = response['usage']['prompt_tokens']
Expand Down

0 comments on commit 609e2a9

Please sign in to comment.