style(config): use snake_case for EnvFile JSON field name
Change 'envFile' to 'env_file' to maintain consistency with the rest of the codebase which uses snake_case for JSON field names (e.g., 'api_key', 'api_base', 'max_results', 'exec_timeout_minutes'). Addresses Copilot code review feedback.
This commit is contained in:
parent
dea381c385
commit
f0ce26ff2b
1 changed files with 1 additions and 1 deletions
|
|
@ -333,7 +333,7 @@ type MCPServerConfig struct {
|
||||||
// Env are environment variables to set for the server process (stdio only)
|
// Env are environment variables to set for the server process (stdio only)
|
||||||
Env map[string]string `json:"env,omitempty"`
|
Env map[string]string `json:"env,omitempty"`
|
||||||
// EnvFile is the path to a file containing environment variables (stdio only)
|
// EnvFile is the path to a file containing environment variables (stdio only)
|
||||||
EnvFile string `json:"envFile,omitempty"`
|
EnvFile string `json:"env_file,omitempty"`
|
||||||
// Type is "stdio", "sse", or "http" (default: stdio if command is set, sse if url is set)
|
// Type is "stdio", "sse", or "http" (default: stdio if command is set, sse if url is set)
|
||||||
Type string `json:"type,omitempty"`
|
Type string `json:"type,omitempty"`
|
||||||
// URL is used for SSE/HTTP transport
|
// URL is used for SSE/HTTP transport
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue