Environment details
- Programming language: Python 3.12
- Package version: 1.70.0
Steps to reproduce
Set GOOGLE_API_KEY and run the below code
goal_review_call.py
The model outputs with a half-complete JSON, which doesn't resolve with retries, meaning it is not a transient issue. I tried running the script 3 times, all generations stopped with "violations":
{
"reasoning": "The script execution failed with an unhandled `openai_harmony.HarmonyError` due to an unexpected EOS while parsing completion tokens. The traceback explicitly provides the fix: modify the call to `parse_messages_from_completion_tokens` to include `strict=False`. Because of the crash, the script did not produce the final CSV artifacts.",
"is_valid": false,
"violations":
Environment details
Steps to reproduce
Set
GOOGLE_API_KEYand run the below codegoal_review_call.py
The model outputs with a half-complete JSON, which doesn't resolve with retries, meaning it is not a transient issue. I tried running the script 3 times, all generations stopped with
"violations":