Skip to content

Models sometimes return null/empty/object in the batch_reasoning property, causing an exception #107

@liamlaverty

Description

@liamlaverty

In generation_orchestrator.py, there's a line that attempts to log batch_reasoning. Sometimes the language model is returning an empty reasoning statement, or the reasoning is passed back as something that's not a string.

Coerce batch_reasoning into a string. Set to "" if it's empty

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions