Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
viasky657 opened this issue Dec 9, 2024 · 0 comments

Comments

@viasky657
Copy link

viasky657 commented Dec 9, 2024

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.

@viasky657 viasky657 changed the title Error with Missing Expected Model Field for Open Router API Usage Error with Missing Expected Model Field for Open Router API Usage (Sota SWE VScode Extension) Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant