Skip to content

Model is not supported for this request. #1248

@jiasonwang

Description

@jiasonwang

Extension sample

chat-sample

VS Code version

1.105.1 (Universal)

What went wrong?

We developed a plugin using the Chat Participant API, and internally, we used request.model as a parameter passed to renderPrompt to be used as the model. Today, the following error suddenly occurred, and we found the same issue when running the official demo:

Request Failed: 400 {"error":{"message":"Model is not supported for this request.","code":"model_not_supported","param":"model","type":"invalid_request_error"}}

Image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions