Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
the-praxs committed Aug 10, 2024
1 parent 0e19e80 commit 891d412
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 @@ -655,7 +655,7 @@ def handle_stream_chunk(chunk: Message):
self.llm_event.prompt_tokens = chunk.message.usage.input_tokens
self.llm_event.completion = {
"role": chunk.message.role,
"content": "", # Always returned as [] in the this instance type
"content": "", # Always returned as [] in this instance type
}
elif isinstance(chunk, RawContentBlockStartEvent):
self.llm_event.completion["content"] += chunk.content_block.text
Expand Down

0 comments on commit 891d412

Please sign in to comment.