Skip to content

[BUG: Parse error: FormatException:Unterminated string (at character 174). #245

@woaidangyang

Description

@woaidangyang

Python -VV

Parse error: FormatException:Unterminated string (at character 174).
...del": "mistral-large-latest", "choices": [ "index": 0"delta": { "role": "assistant" } } ],

"data": {
    "id": "alf51ba2df4545862217c008456f5f",
    "object": "chat.completion.chunk",
    "created": 1745502014,
    "model": "mistral-large-latest"
}

}

Pip Freeze

I'm using OpenRouter's integration function to call Mistral ai API.

Reproduction Steps

Here is the url: https://api.mistral.ai/v1/chat/completions

Expected Behavior

return the answer.

Additional Context

No response

Suggested Solutions

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions