File tree Expand file tree Collapse file tree 3 files changed +26
-0
lines changed
Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,11 @@ def regression_test(func):
5757 "oauth_redirectUri" : "http://localhost:3000/callback" ,
5858 "oauth_tokenParamName" : "access_token" ,
5959 "bearer_token_env_var" : "BEARER_TOKEN" ,
60+ "prompt" : "Be concise." ,
61+ "api_key_env" : "MISTRAL_API_KEY" ,
62+ "api_key_header" : "Authorization" ,
63+ "api_key_format" : "Bearer {api_key}" ,
64+ "transport" : "streamable-http" ,
6065 # Integer fields
6166 "timeout" : 30000 ,
6267 "startup_timeout_sec" : 10 ,
@@ -66,6 +71,7 @@ def regression_test(func):
6671 "oauth_enabled" : False ,
6772 "disabled" : False ,
6873 "enabled" : True ,
74+ "sampling_enabled" : True ,
6975 # List[str] fields
7076 "args" : ["--test" ],
7177 "includeTools" : ["tool1" ],
Original file line number Diff line number Diff line change 7575 "enabled_tools" : [" tool1" , " tool2" ],
7676 "disabled_tools" : [" tool3" ]
7777 },
78+ "mistral-vibe" : {
79+ "command" : null ,
80+ "args" : null ,
81+ "env" : null ,
82+ "url" : " https://example.com/mcp" ,
83+ "headers" : {"Authorization" : " Bearer test-token" },
84+ "transport" : " streamable-http" ,
85+ "prompt" : " Use concise answers." ,
86+ "startup_timeout_sec" : 15 ,
87+ "tool_timeout_sec" : 90 ,
88+ "sampling_enabled" : true ,
89+ "api_key_env" : " MISTRAL_API_KEY" ,
90+ "api_key_header" : " Authorization" ,
91+ "api_key_format" : " Bearer {api_key}"
92+ },
7893 "augment" : {
7994 "command" : " python" ,
8095 "args" : [" -m" , " mcp_server" ],
Original file line number Diff line number Diff line change 2727from hatch .mcp_host_config .adapters .gemini import GeminiAdapter
2828from hatch .mcp_host_config .adapters .kiro import KiroAdapter
2929from hatch .mcp_host_config .adapters .lmstudio import LMStudioAdapter
30+ from hatch .mcp_host_config .adapters .mistral_vibe import MistralVibeAdapter
3031from hatch .mcp_host_config .adapters .opencode import OpenCodeAdapter
3132from hatch .mcp_host_config .adapters .vscode import VSCodeAdapter
3233from hatch .mcp_host_config .fields import (
3940 GEMINI_FIELDS ,
4041 KIRO_FIELDS ,
4142 LMSTUDIO_FIELDS ,
43+ MISTRAL_VIBE_FIELDS ,
4244 OPENCODE_FIELDS ,
4345 TYPE_SUPPORTING_HOSTS ,
4446 VSCODE_FIELDS ,
5961 "gemini" : GEMINI_FIELDS ,
6062 "kiro" : KIRO_FIELDS ,
6163 "codex" : CODEX_FIELDS ,
64+ "mistral-vibe" : MISTRAL_VIBE_FIELDS ,
6265 "opencode" : OPENCODE_FIELDS ,
6366 "augment" : AUGMENT_FIELDS ,
6467}
@@ -99,6 +102,7 @@ def get_adapter(self) -> BaseAdapter:
99102 "gemini" : GeminiAdapter ,
100103 "kiro" : KiroAdapter ,
101104 "codex" : CodexAdapter ,
105+ "mistral-vibe" : MistralVibeAdapter ,
102106 "opencode" : OpenCodeAdapter ,
103107 "augment" : AugmentAdapter ,
104108 }
@@ -358,6 +362,7 @@ def generate_unsupported_field_test_cases(
358362 | GEMINI_FIELDS
359363 | KIRO_FIELDS
360364 | CODEX_FIELDS
365+ | MISTRAL_VIBE_FIELDS
361366 | OPENCODE_FIELDS
362367 | AUGMENT_FIELDS
363368 )
You can’t perform that action at this time.
0 commit comments