zed
zed copied to clipboard
Mismatch between settings.json schema and expected value
Summary
JSON lsp incorrectly warns about an invalid value when using Bedrock.
Description
When using AWS Bedrock as the model provider, there is a warning in settings.json, even though the value was set my the model select dropdown in the assistant panel.
Steps to reproduce:
- Open Assistant Panel
- Select any Bedrock model in the dropdown
- Open
settings.json - Observe warning for
agent.default_model.provider
Expected Behavior: JSON schema completion hint should match the value actually used.
Actual Behavior:
Using UI to set the model creates a JSON warning in settings.json
settings.json
{
"agent": {
"default_model": {
"provider": "amazon-bedrock",
// ...
},
"version": "2"
},
// ...
}
Zed Version and System Specs
Zed: v0.186.9 (Zed) OS: macOS 15.1.1 Memory: 18 GiB Architecture: aarch64
@chasewalden Which option does Bedrock or Amazon Bedrock work with? Right now, "bedrock" is in the list