v2.18.4 (#866)
Co-authored-by: Albert Jiang <aj@mistral.ai> Co-authored-by: Clément Drouin <clement.drouin@mistral.ai> Co-authored-by: Laure Hugo <201583486+laure0303@users.noreply.github.com> Co-authored-by: Mathias Gesbert <mathias.gesbert@mistral.ai> Co-authored-by: Mert Unsal <mert.unsal@mistral.ai> Co-authored-by: Michel Thomazo <51709227+michelTho@users.noreply.github.com> Co-authored-by: Paul VEZIA <166131032+le-codeur-rapide@users.noreply.github.com> Co-authored-by: Pierre Rossinès <pierre.rossines@mistral.ai> Co-authored-by: Quentin <quentin.torroba@mistral.ai> Co-authored-by: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
parent
4e495f658d
commit
ac8f1a09fd
83 changed files with 1979 additions and 572 deletions
|
|
@ -193,3 +193,21 @@ def test_add_oauth_mcp_server_persists_http_transport() -> None:
|
|||
def test_parse_mcp_add_transport_rejects_unsupported_transport() -> None:
|
||||
with pytest.raises(MCPServerAddError, match="http, streamable-http"):
|
||||
parse_mcp_add_transport("sse")
|
||||
|
||||
|
||||
def test_vibe_config_rejects_duplicate_mcp_server_names() -> None:
|
||||
with pytest.raises(ValueError, match="Duplicate MCP server name found: 'figma'"):
|
||||
VibeConfig.model_validate({
|
||||
"mcp_servers": [
|
||||
{
|
||||
"name": "figma",
|
||||
"transport": "streamable-http",
|
||||
"url": "https://a.example.com/mcp",
|
||||
},
|
||||
{
|
||||
"name": "figma",
|
||||
"transport": "streamable-http",
|
||||
"url": "https://b.example.com/mcp",
|
||||
},
|
||||
]
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue