config: add TokenURL, ClientID, ClientSecret to ModelConfig for config command
Made-with: Cursor
This commit is contained in:
parent
0e8cae377c
commit
59e196e3ee
1 changed files with 6 additions and 1 deletions
|
|
@ -401,7 +401,12 @@ type ModelConfig struct {
|
|||
// Special providers (CLI-based, OAuth, etc.)
|
||||
AuthMethod string `json:"auth_method,omitempty"` // Authentication method: oauth, token
|
||||
ConnectMode string `json:"connect_mode,omitempty"` // Connection mode: stdio, grpc
|
||||
Workspace string `json:"workspace,omitempty"` // Workspace path for CLI-based providers
|
||||
Workspace string `json:"workspace,omitempty"` // Workspace path for CLI-based providers
|
||||
|
||||
// OAuth / client credentials (e.g. LiteLLM + Keycloak)
|
||||
TokenURL string `json:"token_url,omitempty"`
|
||||
ClientID string `json:"client_id,omitempty"`
|
||||
ClientSecret string `json:"client_secret,omitempty"`
|
||||
|
||||
// Optional optimizations
|
||||
RPM int `json:"rpm,omitempty"` // Requests per minute limit
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue