Skip to content

Conversation

rm-openai
Copy link
Collaborator

@rm-openai rm-openai commented Mar 13, 2025

Summary

Closes #63. Fixes the type errors with usage, which were hidden away by using model_copy.

Test plan

Added a unit test, which failed before and passes now.

Also ran stream_text.py, with chat completions.

@rm-openai rm-openai merged commit 1670d40 into main Mar 13, 2025
5 checks passed
@rm-openai rm-openai deleted the pr112 branch March 13, 2025 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AttributeError: 'CompletionUsage' object has no attribute 'input_tokens'

1 participant