Skip to content

Error with Missing Expected Model Field for Open Router API Usage (Sota SWE VScode Extension) #57

Description

@viasky657

I used Claude Sonnet 3.5 to assist with possibly resolving this bug as shown here: This is the exact error message I had received: serde failed missing field 'model' at line 1 column 440. I sent the bug error message to Claude and this is the message with Claude's bug fixes here to hopefully help better explain where the error is located:
Looking at the code, I can see that this is likely a serialization issue between the TypeScript/JavaScript frontend and the Rust backend (sidecar). The error occurs when Serde (Rust's serialization framework) tries to deserialize a JSON payload that's missing a required "model" field. Edit: I took out some of the AI code created from this post as it contained some errors.
I hope that this bug report may have assisted your team. I enjoy using your extension program and thank you for your hard work. I am actively working on developing a solution to this coding error.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions