You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/aigw/main.go
+9-6Lines changed: 9 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -41,12 +41,15 @@ type (
41
41
}
42
42
// cmdRun corresponds to `aigw run` command.
43
43
cmdRunstruct {
44
-
Debugbool`help:"Enable debug logging emitted to stderr."`
45
-
Pathstring`arg:"" name:"path" optional:"" help:"Path to the AI Gateway configuration yaml file. Defaults to $AIGW_CONFIG_HOME/config.yaml if exists, otherwise optional when at least OPENAI_API_KEY, AZURE_OPENAI_API_KEY or ANTHROPIC_API_KEY is set." type:"path"`
46
-
AdminPortint`help:"HTTP port for the admin server (serves /metrics and /health endpoints)." default:"1064"`
47
-
McpConfigstring`name:"mcp-config" help:"Path to MCP servers configuration file." type:"path"`
48
-
McpJSONstring`name:"mcp-json" help:"JSON string of MCP servers configuration."`
49
-
RunIDstring`name:"run-id" env:"AIGW_RUN_ID" help:"Run identifier for this invocation. Defaults to timestamp-based ID or $AIGW_RUN_ID. Use '0' for Docker/Kubernetes."`
44
+
Debugbool`help:"Enable debug logging emitted to stderr."`
45
+
Pathstring`arg:"" name:"path" optional:"" help:"Path to the AI Gateway configuration yaml file. Defaults to $AIGW_CONFIG_HOME/config.yaml if exists, otherwise optional when at least OPENAI_API_KEY, AZURE_OPENAI_API_KEY or ANTHROPIC_API_KEY is set." type:"path"`
46
+
AdminPortint`help:"HTTP port for the admin server (serves /metrics and /health endpoints)." default:"1064"`
47
+
McpConfigstring`name:"mcp-config" help:"Path to MCP servers configuration file." type:"path"`
48
+
McpJSONstring`name:"mcp-json" help:"JSON string of MCP servers configuration."`
49
+
RunIDstring`name:"run-id" env:"AIGW_RUN_ID" help:"Run identifier for this invocation. Defaults to timestamp-based ID or $AIGW_RUN_ID. Use '0' for Docker/Kubernetes."`
50
+
51
+
MCPSessionEncryptionIterationsint`name:"mcp-session-encryption-iterations" help:"Number of iterations for MCP session encryption key derivation." default:"100000"`
52
+
50
53
mcpConfig*autoconfig.MCPServers`kong:"-"`// Internal field: normalized MCP JSON data
51
54
dirs*xdg.Directories`kong:"-"`// Internal field: XDG directories, set by BeforeApply
52
55
runOpts*runOpts`kong:"-"`// Internal field: run options, set by Validate
0 commit comments