Skip to content

Conversation

@sl0thentr0py
Copy link
Member

Description

choice.message is a ChatCompletionMessage and not a string

Issues

@linear
Copy link

linearbot commented Jan 7, 2026

@sl0thentr0pysl0thentr0py marked this pull request as ready for review January 7, 2026 13:34
@sl0thentr0pysl0thentr0py requested a review from a team as a code ownerJanuary 7, 2026 13:34
@sl0thentr0pysl0thentr0py enabled auto-merge (squash) January 7, 2026 13:36
@sl0thentr0pysl0thentr0py merged commit f5c51fc into masterJan 7, 2026
153 checks passed
@sl0thentr0pysl0thentr0py deleted the neel/fix-openai-token branch January 7, 2026 13:42
Sign up for freeto 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.

TypeError: argument 'text': 'ChatCompletionMessage' object cannot be converted to 'PyString'

3 participants

@sl0thentr0py@sentrivana