Skip to content

Commit 2d8e0a3

Browse files
fix(mcp-adapters): remove type field rejection from GeminiAdapter
1 parent 1bd3780 commit 2d8e0a3

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

hatch/mcp_host_config/adapters/gemini.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,6 @@ def validate(self, config: MCPServerConfig) -> None:
5353
host_name=self.host_name,
5454
)
5555

56-
# 'type' field is not supported by Gemini
57-
if config.type is not None:
58-
raise AdapterValidationError(
59-
"'type' field is not supported by Gemini CLI",
60-
field="type",
61-
host_name=self.host_name,
62-
)
63-
6456
# Validate includeTools and excludeTools are mutually exclusive
6557
if config.includeTools is not None and config.excludeTools is not None:
6658
raise AdapterValidationError(

0 commit comments

Comments
 (0)