forked from router-for-me/CLIProxyAPI
-
Notifications
You must be signed in to change notification settings - Fork 2
fix(ci): align required-check manifest with current workflow job names #515
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
1509a48
chore: align module path to kooshapari fork
KooshaPari 38320e6
fix: resolve cliproxyctl delegate build regressions
KooshaPari 56117f8
ci: allow translator kiro websearch hotfix file in path guard
KooshaPari 4740b95
fix: resolve executor compile regressions
KooshaPari 6932352
ci: branch-scope build and codeql for migrated router compatibility
KooshaPari 4d359cc
fix: multiple issues
KooshaPari a741598
Strip empty messages on translation from openai to claude
KooshaPari 7244955
Merge: fix/circular-import-config and refactor/consolidation
KooshaPari ede7dfd
fix(ci): align sdk config types and include auto-merge workflow
KooshaPari 3288641
fix: resolve cliproxyctl delegate build regressions
KooshaPari a1a96d2
fix: clean duplicate structs/tests and harden auth region/path handling
KooshaPari File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
47 changes: 5 additions & 42 deletions
47
.worktrees/config/m/config-build/active/internal/config/sdk_config.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,45 +1,8 @@ | ||
| // Package config provides configuration management for the CLI Proxy API server. | ||
| // It handles loading and parsing YAML configuration files, and provides structured | ||
| // access to application settings including server port, authentication directory, | ||
| // debug settings, proxy configuration, and API keys. | ||
| // Package config provides configuration types for the llmproxy server. | ||
| package config | ||
|
|
||
| // SDKConfig represents the application's configuration, loaded from a YAML file. | ||
| type SDKConfig struct { | ||
| // ProxyURL is the URL of an optional proxy server to use for outbound requests. | ||
| ProxyURL string `yaml:"proxy-url" json:"proxy-url"` | ||
| import sdkconfig "github.com/router-for-me/CLIProxyAPI/v6/sdk/config" | ||
|
|
||
| // ForceModelPrefix requires explicit model prefixes (e.g., "teamA/gemini-3-pro-preview") | ||
| // to target prefixed credentials. When false, unprefixed model requests may use prefixed | ||
| // credentials as well. | ||
| ForceModelPrefix bool `yaml:"force-model-prefix" json:"force-model-prefix"` | ||
|
|
||
| // RequestLog enables or disables detailed request logging functionality. | ||
| RequestLog bool `yaml:"request-log" json:"request-log"` | ||
|
|
||
| // APIKeys is a list of keys for authenticating clients to this proxy server. | ||
| APIKeys []string `yaml:"api-keys" json:"api-keys"` | ||
|
|
||
| // PassthroughHeaders controls whether upstream response headers are forwarded to downstream clients. | ||
| // Default is false (disabled). | ||
| PassthroughHeaders bool `yaml:"passthrough-headers" json:"passthrough-headers"` | ||
|
|
||
| // Streaming configures server-side streaming behavior (keep-alives and safe bootstrap retries). | ||
| Streaming StreamingConfig `yaml:"streaming" json:"streaming"` | ||
|
|
||
| // NonStreamKeepAliveInterval controls how often blank lines are emitted for non-streaming responses. | ||
| // <= 0 disables keep-alives. Value is in seconds. | ||
| NonStreamKeepAliveInterval int `yaml:"nonstream-keepalive-interval,omitempty" json:"nonstream-keepalive-interval,omitempty"` | ||
| } | ||
|
|
||
| // StreamingConfig holds server streaming behavior configuration. | ||
| type StreamingConfig struct { | ||
| // KeepAliveSeconds controls how often the server emits SSE heartbeats (": keep-alive\n\n"). | ||
| // <= 0 disables keep-alives. Default is 0. | ||
| KeepAliveSeconds int `yaml:"keepalive-seconds,omitempty" json:"keepalive-seconds,omitempty"` | ||
|
|
||
| // BootstrapRetries controls how many times the server may retry a streaming request before any bytes are sent, | ||
| // to allow auth rotation / transient recovery. | ||
| // <= 0 disables bootstrap retries. Default is 0. | ||
| BootstrapRetries int `yaml:"bootstrap-retries,omitempty" json:"bootstrap-retries,omitempty"` | ||
| } | ||
| // Keep SDK types aligned with public SDK config to avoid split-type regressions. | ||
| type SDKConfig = sdkconfig.SDKConfig | ||
| type StreamingConfig = sdkconfig.StreamingConfig | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This import path has not been updated to the new repository path. This will cause a build failure.