Skip to content

fix(ci): align required-check manifest with current workflow job names#515

Closed
KooshaPari wants to merge 11 commits intomainfrom
chore/fix-gh-pages-workflow-gates-pr
Closed

fix(ci): align required-check manifest with current workflow job names#515
KooshaPari wants to merge 11 commits intomainfrom
chore/fix-gh-pages-workflow-gates-pr

Conversation

@KooshaPari
Copy link
Copy Markdown
Owner

Follow-up PR to align required checks against pr-test-build.yml|build and path-guard job.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Feb 26, 2026

Important

Review skipped

Too many files!

This PR contains 300 files, which is 150 over the limit of 150.

📥 Commits

Reviewing files that changed from the base of the PR and between 03b2fdf and a1a96d2.

📒 Files selected for processing (300)
  • .github/workflows/codeql.yml
  • .github/workflows/docs.yml
  • .github/workflows/pr-path-guard.yml
  • .github/workflows/pr-test-build.yml
  • .github/workflows/vitepress-pages.yml
  • .worktrees/config/m/config-build/active/internal/config/sdk_config.go
  • cliproxyctl/main.go
  • cliproxyctl/main_test.go
  • cmd/cliproxyctl/main.go
  • cmd/cliproxyctl/main_test.go
  • cmd/codegen/main.go
  • cmd/server/config_validate.go
  • cmd/server/main.go
  • examples/custom-provider/main.go
  • examples/http-request/main.go
  • examples/translator/main.go
  • go.mod
  • internal/access/config_access/provider.go
  • internal/access/reconcile.go
  • internal/api/handlers/management/api_tools.go
  • internal/api/handlers/management/api_tools_test.go
  • internal/api/handlers/management/auth_files.go
  • internal/api/handlers/management/config_basic.go
  • internal/api/handlers/management/config_lists.go
  • internal/api/handlers/management/handler.go
  • internal/api/handlers/management/logs.go
  • internal/api/handlers/management/model_definitions.go
  • internal/api/handlers/management/usage.go
  • internal/api/handlers/management/vertex_import.go
  • internal/api/middleware/request_logging.go
  • internal/api/middleware/response_writer.go
  • internal/api/modules/amp/amp.go
  • internal/api/modules/amp/amp_test.go
  • internal/api/modules/amp/fallback_handlers.go
  • internal/api/modules/amp/fallback_handlers_test.go
  • internal/api/modules/amp/model_mapping.go
  • internal/api/modules/amp/model_mapping_test.go
  • internal/api/modules/amp/proxy_test.go
  • internal/api/modules/amp/routes.go
  • internal/api/modules/amp/routes_test.go
  • internal/api/modules/amp/secret.go
  • internal/api/modules/amp/secret_test.go
  • internal/api/modules/modules.go
  • internal/api/server.go
  • internal/api/server_test.go
  • internal/auth/antigravity/auth.go
  • internal/auth/claude/anthropic_auth.go
  • internal/auth/claude/token.go
  • internal/auth/claude/utls_transport.go
  • internal/auth/codex/openai_auth.go
  • internal/auth/codex/token.go
  • internal/auth/copilot/copilot_auth.go
  • internal/auth/copilot/oauth.go
  • internal/auth/copilot/token.go
  • internal/auth/gemini/gemini_auth.go
  • internal/auth/gemini/gemini_token.go
  • internal/auth/iflow/iflow_auth.go
  • internal/auth/iflow/iflow_token.go
  • internal/auth/kilo/kilo_token.go
  • internal/auth/kimi/kimi.go
  • internal/auth/kimi/token.go
  • internal/auth/kiro/aws_auth.go
  • internal/auth/kiro/background_refresh.go
  • internal/auth/kiro/codewhisperer_client.go
  • internal/auth/kiro/oauth.go
  • internal/auth/kiro/oauth_web.go
  • internal/auth/kiro/refresh_manager.go
  • internal/auth/kiro/social_auth.go
  • internal/auth/kiro/sso_oidc.go
  • internal/auth/kiro/usage_checker.go
  • internal/auth/qwen/qwen_auth.go
  • internal/auth/qwen/qwen_token.go
  • internal/auth/vertex/vertex_credentials.go
  • internal/cmd/anthropic_login.go
  • internal/cmd/antigravity_login.go
  • internal/cmd/auth_manager.go
  • internal/cmd/github_copilot_login.go
  • internal/cmd/iflow_cookie.go
  • internal/cmd/iflow_login.go
  • internal/cmd/kilo_login.go
  • internal/cmd/kimi_login.go
  • internal/cmd/kiro_login.go
  • internal/cmd/login.go
  • internal/cmd/openai_device_login.go
  • internal/cmd/openai_login.go
  • internal/cmd/qwen_login.go
  • internal/cmd/run.go
  • internal/cmd/vertex_import.go
  • internal/config/config.go
  • internal/config/config_generated.go
  • internal/config/provider_registry_generated.go
  • internal/interfaces/types.go
  • internal/logging/gin_logger.go
  • internal/logging/global_logger.go
  • internal/logging/request_logger.go
  • internal/managementasset/updater.go
  • internal/registry/model_registry.go
  • internal/runtime/executor/aistudio_executor.go
  • internal/runtime/executor/antigravity_executor.go
  • internal/runtime/executor/antigravity_executor_buildrequest_test.go
  • internal/runtime/executor/claude_executor.go
  • internal/runtime/executor/claude_executor_test.go
  • internal/runtime/executor/codex_executor.go
  • internal/runtime/executor/codex_websockets_executor.go
  • internal/runtime/executor/gemini_cli_executor.go
  • internal/runtime/executor/gemini_executor.go
  • internal/runtime/executor/gemini_vertex_executor.go
  • internal/runtime/executor/github_copilot_executor.go
  • internal/runtime/executor/github_copilot_executor_test.go
  • internal/runtime/executor/iflow_executor.go
  • internal/runtime/executor/iflow_executor_test.go
  • internal/runtime/executor/kilo_executor.go
  • internal/runtime/executor/kimi_executor.go
  • internal/runtime/executor/kiro_executor.go
  • internal/runtime/executor/logging_helpers.go
  • internal/runtime/executor/openai_compat_executor.go
  • internal/runtime/executor/openai_compat_executor_compact_test.go
  • internal/runtime/executor/payload_helpers.go
  • internal/runtime/executor/proxy_helpers.go
  • internal/runtime/executor/qwen_executor.go
  • internal/runtime/executor/qwen_executor_test.go
  • internal/runtime/executor/thinking_providers.go
  • internal/runtime/executor/usage_helpers.go
  • internal/store/gitstore.go
  • internal/store/objectstore.go
  • internal/store/postgresstore.go
  • internal/thinking/apply.go
  • internal/thinking/convert.go
  • internal/thinking/provider/antigravity/apply.go
  • internal/thinking/provider/claude/apply.go
  • internal/thinking/provider/codex/apply.go
  • internal/thinking/provider/gemini/apply.go
  • internal/thinking/provider/geminicli/apply.go
  • internal/thinking/provider/iflow/apply.go
  • internal/thinking/provider/kimi/apply.go
  • internal/thinking/provider/openai/apply.go
  • internal/thinking/types.go
  • internal/thinking/validate.go
  • internal/translator/antigravity/claude/antigravity_claude_request.go
  • internal/translator/antigravity/claude/antigravity_claude_request_test.go
  • internal/translator/antigravity/claude/antigravity_claude_response.go
  • internal/translator/antigravity/claude/antigravity_claude_response_test.go
  • internal/translator/antigravity/claude/init.go
  • internal/translator/antigravity/gemini/antigravity_gemini_request.go
  • internal/translator/antigravity/gemini/init.go
  • internal/translator/antigravity/openai/chat-completions/antigravity_openai_request.go
  • internal/translator/antigravity/openai/chat-completions/antigravity_openai_response.go
  • internal/translator/antigravity/openai/chat-completions/init.go
  • internal/translator/antigravity/openai/responses/antigravity_openai-responses_request.go
  • internal/translator/antigravity/openai/responses/antigravity_openai-responses_response.go
  • internal/translator/antigravity/openai/responses/init.go
  • internal/translator/claude/gemini-cli/claude_gemini-cli_request.go
  • internal/translator/claude/gemini-cli/claude_gemini-cli_response.go
  • internal/translator/claude/gemini-cli/init.go
  • internal/translator/claude/gemini/claude_gemini_request.go
  • internal/translator/claude/gemini/init.go
  • internal/translator/claude/openai/chat-completions/claude_openai_request.go
  • internal/translator/claude/openai/chat-completions/init.go
  • internal/translator/claude/openai/responses/claude_openai-responses_request.go
  • internal/translator/claude/openai/responses/init.go
  • internal/translator/codex/claude/codex_claude_request.go
  • internal/translator/codex/claude/init.go
  • internal/translator/codex/gemini-cli/codex_gemini-cli_request.go
  • internal/translator/codex/gemini-cli/codex_gemini-cli_response.go
  • internal/translator/codex/gemini-cli/init.go
  • internal/translator/codex/gemini/codex_gemini_request.go
  • internal/translator/codex/gemini/init.go
  • internal/translator/codex/openai/chat-completions/init.go
  • internal/translator/codex/openai/responses/init.go
  • internal/translator/gemini-cli/claude/gemini-cli_claude_request.go
  • internal/translator/gemini-cli/claude/init.go
  • internal/translator/gemini-cli/gemini/gemini-cli_gemini_request.go
  • internal/translator/gemini-cli/gemini/init.go
  • internal/translator/gemini-cli/openai/chat-completions/gemini-cli_openai_request.go
  • internal/translator/gemini-cli/openai/chat-completions/gemini-cli_openai_response.go
  • internal/translator/gemini-cli/openai/chat-completions/init.go
  • internal/translator/gemini-cli/openai/responses/gemini-cli_openai-responses_request.go
  • internal/translator/gemini-cli/openai/responses/gemini-cli_openai-responses_response.go
  • internal/translator/gemini-cli/openai/responses/init.go
  • internal/translator/gemini/claude/gemini_claude_request.go
  • internal/translator/gemini/claude/init.go
  • internal/translator/gemini/gemini-cli/gemini_gemini-cli_request.go
  • internal/translator/gemini/gemini-cli/init.go
  • internal/translator/gemini/gemini/gemini_gemini_request.go
  • internal/translator/gemini/gemini/init.go
  • internal/translator/gemini/openai/chat-completions/gemini_openai_request.go
  • internal/translator/gemini/openai/chat-completions/init.go
  • internal/translator/gemini/openai/responses/gemini_openai-responses_request.go
  • internal/translator/gemini/openai/responses/init.go
  • internal/translator/init.go
  • internal/translator/kiro/claude/init.go
  • internal/translator/kiro/claude/kiro_claude_request.go
  • internal/translator/kiro/claude/kiro_claude_response.go
  • internal/translator/kiro/claude/kiro_claude_stream.go
  • internal/translator/kiro/claude/kiro_claude_tools.go
  • internal/translator/kiro/claude/kiro_websearch_handler.go
  • internal/translator/kiro/claude/tool_compression.go
  • internal/translator/kiro/claude/truncation_detector.go
  • internal/translator/kiro/openai/init.go
  • internal/translator/kiro/openai/kiro_openai.go
  • internal/translator/kiro/openai/kiro_openai_request.go
  • internal/translator/kiro/openai/kiro_openai_response.go
  • internal/translator/kiro/openai/kiro_openai_stream.go
  • internal/translator/openai/claude/init.go
  • internal/translator/openai/claude/openai_claude_request.go
  • internal/translator/openai/claude/openai_claude_response.go
  • internal/translator/openai/gemini-cli/init.go
  • internal/translator/openai/gemini-cli/openai_gemini_request.go
  • internal/translator/openai/gemini-cli/openai_gemini_response.go
  • internal/translator/openai/gemini/init.go
  • internal/translator/openai/gemini/openai_gemini_request.go
  • internal/translator/openai/openai/chat-completions/init.go
  • internal/translator/openai/openai/responses/init.go
  • internal/translator/translator/translator.go
  • internal/usage/logger_plugin.go
  • internal/util/provider.go
  • internal/util/proxy.go
  • internal/util/util.go
  • internal/watcher/clients.go
  • internal/watcher/config_reload.go
  • internal/watcher/diff/auth_diff.go
  • internal/watcher/diff/config_diff.go
  • internal/watcher/diff/config_diff_test.go
  • internal/watcher/diff/model_hash.go
  • internal/watcher/diff/model_hash_test.go
  • internal/watcher/diff/models_summary.go
  • internal/watcher/diff/oauth_excluded.go
  • internal/watcher/diff/oauth_excluded_test.go
  • internal/watcher/diff/oauth_model_alias.go
  • internal/watcher/diff/openai_compat.go
  • internal/watcher/diff/openai_compat_test.go
  • internal/watcher/dispatcher.go
  • internal/watcher/events.go
  • internal/watcher/synthesizer/config.go
  • internal/watcher/synthesizer/config_test.go
  • internal/watcher/synthesizer/context.go
  • internal/watcher/synthesizer/file.go
  • internal/watcher/synthesizer/file_test.go
  • internal/watcher/synthesizer/helpers.go
  • internal/watcher/synthesizer/helpers_test.go
  • internal/watcher/synthesizer/interface.go
  • internal/watcher/watcher.go
  • internal/watcher/watcher_test.go
  • pkg/llmproxy/access/config_access/provider.go
  • pkg/llmproxy/access/config_access/provider_test.go
  • pkg/llmproxy/access/reconcile.go
  • pkg/llmproxy/api/aliases.go
  • pkg/llmproxy/api/handlers/management/api_tools.go
  • pkg/llmproxy/api/handlers/management/api_tools_test.go
  • pkg/llmproxy/api/handlers/management/auth_files.go
  • pkg/llmproxy/api/handlers/management/config_basic.go
  • pkg/llmproxy/api/handlers/management/config_lists.go
  • pkg/llmproxy/api/handlers/management/handler.go
  • pkg/llmproxy/api/handlers/management/logs.go
  • pkg/llmproxy/api/handlers/management/management_auth_test.go
  • pkg/llmproxy/api/handlers/management/management_basic_test.go
  • pkg/llmproxy/api/handlers/management/management_extra_test.go
  • pkg/llmproxy/api/handlers/management/management_fields_test.go
  • pkg/llmproxy/api/handlers/management/management_modelstates_test.go
  • pkg/llmproxy/api/handlers/management/model_definitions.go
  • pkg/llmproxy/api/handlers/management/routing_select.go
  • pkg/llmproxy/api/handlers/management/usage.go
  • pkg/llmproxy/api/handlers/management/vertex_import.go
  • pkg/llmproxy/api/handlers/routing_handler.go
  • pkg/llmproxy/api/middleware/request_logging.go
  • pkg/llmproxy/api/middleware/request_logging_test.go
  • pkg/llmproxy/api/middleware/response_writer.go
  • pkg/llmproxy/api/middleware/response_writer_test.go
  • pkg/llmproxy/api/modules/amp/amp.go
  • pkg/llmproxy/api/modules/amp/amp_test.go
  • pkg/llmproxy/api/modules/amp/fallback_handlers.go
  • pkg/llmproxy/api/modules/amp/fallback_handlers_test.go
  • pkg/llmproxy/api/modules/amp/model_mapping.go
  • pkg/llmproxy/api/modules/amp/model_mapping_test.go
  • pkg/llmproxy/api/modules/amp/proxy_test.go
  • pkg/llmproxy/api/modules/amp/routes.go
  • pkg/llmproxy/api/modules/amp/routes_test.go
  • pkg/llmproxy/api/modules/amp/secret.go
  • pkg/llmproxy/api/modules/amp/secret_test.go
  • pkg/llmproxy/api/modules/modules.go
  • pkg/llmproxy/auth/antigravity/auth.go
  • pkg/llmproxy/auth/claude/anthropic_auth.go
  • pkg/llmproxy/auth/claude/token.go
  • pkg/llmproxy/auth/claude/utls_transport.go
  • pkg/llmproxy/auth/codex/openai_auth.go
  • pkg/llmproxy/auth/codex/openai_auth_test.go
  • pkg/llmproxy/auth/codex/token.go
  • pkg/llmproxy/auth/copilot/copilot_auth.go
  • pkg/llmproxy/auth/copilot/copilot_auth_test.go
  • pkg/llmproxy/auth/copilot/copilot_extra_test.go
  • pkg/llmproxy/auth/copilot/oauth.go
  • pkg/llmproxy/auth/copilot/token.go
  • pkg/llmproxy/auth/diff/auth_diff.go
  • pkg/llmproxy/auth/diff/config_diff.go
  • pkg/llmproxy/auth/diff/config_diff_test.go
  • pkg/llmproxy/auth/diff/diff_generated.go
  • pkg/llmproxy/auth/diff/model_hash.go
  • pkg/llmproxy/auth/diff/model_hash_test.go
  • pkg/llmproxy/auth/diff/models_summary.go
  • pkg/llmproxy/auth/diff/oauth_excluded.go

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/fix-gh-pages-workflow-gates-pr

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello @KooshaPari, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request primarily focuses on a comprehensive update of import paths throughout the codebase, indicating a change in the project's repository location. Beyond this structural change, it introduces several targeted enhancements to improve the stability, security, and functionality of various components. Key improvements include better handling of file paths for Claude tokens, more robust OIDC region validation, and a more efficient mechanism for fetching web search tool descriptions. Additionally, specific bugs related to Gemini API tool schema conversion and Claude request content handling have been resolved.

Highlights

  • Repository Migration: Updated all internal and external import paths across the codebase from github.com/router-for-me/CLIProxyAPI/v6 to github.com/kooshapari/cliproxyapi-plusplus/v6, reflecting a significant repository rename or fork.
  • Configuration Refactoring: Refactored SDKConfig and StreamingConfig types to directly alias their counterparts in the public SDK, streamlining configuration management.
  • Claude Token Path Sanitization: Introduced a new sanitizeTokenFilePath function and integrated it into SaveTokenToFile for Claude authentication, enhancing security and robustness by ensuring valid file paths.
  • OIDC Region Validation: Added a regular expression for OIDC region validation and updated CreateTokenWithRegion to normalize regions, preventing errors from malformed region inputs.
  • Tool Truncation Detection Improvement: Simplified the RequiredFieldsByTool map structure and refined the logic for findMissingRequiredFields in Claude's truncation detector, making tool input validation more straightforward.
  • Web Search Tool Description Caching: Implemented caching for web search tool descriptions fetched from the MCP API, including new structs for MCP requests/responses and a FetchToolDescription function for efficient retrieval.
  • Gemini Tool Schema Conversion Fix: Addressed a bug in Gemini API tool schema conversion by skipping type uppercasing for parametersJsonSchema, which previously caused issues with nullable type arrays.
  • Claude Request Content Handling: Modified Claude request conversion to skip empty text content parts, ensuring cleaner and more accurate message formatting.
Changelog
  • .worktrees/config/m/config-build/active/internal/config/sdk_config.go
    • Refactored SDKConfig and StreamingConfig to use SDK type aliases.
  • cliproxyctl/main.go
    • Updated import paths to the new repository location.
  • cliproxyctl/main_test.go
    • Updated import paths to the new repository location.
  • cmd/cliproxyctl/main.go
    • Updated import paths to the new repository location.
  • cmd/cliproxyctl/main_test.go
    • Updated import paths to the new repository location.
  • cmd/codegen/main.go
    • Updated code generation comments and import paths to the new repository location.
  • cmd/server/config_validate.go
    • Updated import paths to the new repository location.
  • cmd/server/main.go
    • Updated import paths to the new repository location.
  • examples/custom-provider/main.go
    • Updated import paths to the new repository location.
  • examples/http-request/main.go
    • Updated import paths to the new repository location.
  • examples/translator/main.go
    • Updated import paths to the new repository location.
  • go.mod
    • Updated the module path to the new repository location.
  • internal/access/config_access/provider.go
    • Updated import paths to the new repository location.
  • internal/access/reconcile.go
    • Updated import paths to the new repository location.
  • internal/api/handlers/management/api_tools.go
    • Updated import paths to the new repository location.
  • internal/api/handlers/management/api_tools_test.go
    • Updated import paths to the new repository location.
  • internal/api/handlers/management/auth_files.go
    • Updated import paths to the new repository location and adjusted a comment.
  • internal/api/handlers/management/config_basic.go
    • Updated import paths to the new repository location.
  • internal/api/handlers/management/config_lists.go
    • Updated import paths to the new repository location.
  • internal/api/handlers/management/handler.go
    • Updated import paths to the new repository location.
  • internal/api/handlers/management/logs.go
    • Updated import paths to the new repository location.
  • internal/api/handlers/management/model_definitions.go
    • Updated import paths to the new repository location.
  • internal/api/handlers/management/usage.go
    • Updated import paths to the new repository location.
  • internal/api/handlers/management/vertex_import.go
    • Updated import paths to the new repository location.
  • internal/api/middleware/request_logging.go
    • Updated import paths to the new repository location.
  • internal/api/middleware/response_writer.go
    • Updated import paths to the new repository location.
  • internal/api/modules/amp/amp.go
    • Updated import paths to the new repository location.
  • internal/api/modules/amp/amp_test.go
    • Updated import paths to the new repository location.
  • internal/api/modules/amp/fallback_handlers.go
    • Updated import paths to the new repository location.
  • internal/api/modules/amp/fallback_handlers_test.go
    • Updated import paths to the new repository location.
  • internal/api/modules/amp/model_mapping.go
    • Updated import paths to the new repository location.
  • internal/api/modules/amp/model_mapping_test.go
    • Updated import paths to the new repository location.
  • internal/api/modules/amp/proxy_test.go
    • Updated import paths to the new repository location.
  • internal/api/modules/amp/routes.go
    • Updated import paths to the new repository location.
  • internal/api/modules/amp/routes_test.go
    • Updated import paths to the new repository location.
  • internal/api/modules/amp/secret.go
    • Updated import paths to the new repository location.
  • internal/api/modules/amp/secret_test.go
    • Updated import paths to the new repository location.
  • internal/api/modules/modules.go
    • Updated import paths to the new repository location.
  • internal/api/server.go
    • Updated import paths to the new repository location.
  • internal/api/server_test.go
    • Updated import paths to the new repository location.
  • internal/auth/antigravity/auth.go
    • Updated import paths to the new repository location.
  • internal/auth/claude/anthropic_auth.go
    • Updated import paths to the new repository location.
  • internal/auth/claude/token.go
    • Added sanitizeTokenFilePath function for robust path handling.
    • Updated SaveTokenToFile to utilize the new path sanitization function.
  • internal/auth/claude/utls_transport.go
    • Updated import paths to the new repository location.
  • internal/auth/codex/openai_auth.go
    • Updated import paths to the new repository location.
  • internal/auth/codex/token.go
    • Updated import paths to the new repository location.
  • internal/auth/copilot/copilot_auth.go
    • Updated import paths to the new repository location.
  • internal/auth/copilot/oauth.go
    • Updated import paths to the new repository location.
  • internal/auth/copilot/token.go
    • Updated import paths to the new repository location.
  • internal/auth/gemini/gemini_auth.go
    • Updated import paths to the new repository location.
  • internal/auth/gemini/gemini_token.go
    • Updated import paths to the new repository location.
  • internal/auth/iflow/iflow_auth.go
    • Updated import paths to the new repository location.
  • internal/auth/iflow/iflow_token.go
    • Updated import paths to the new repository location.
  • internal/auth/kilo/kilo_token.go
    • Updated import paths to the new repository location.
  • internal/auth/kimi/kimi.go
    • Updated import paths to the new repository location.
  • internal/auth/kimi/token.go
    • Updated import paths to the new repository location.
  • internal/auth/kiro/aws_auth.go
    • Updated import paths to the new repository location.
  • internal/auth/kiro/background_refresh.go
    • Updated import paths to the new repository location.
  • internal/auth/kiro/codewhisperer_client.go
    • Updated import paths to the new repository location.
  • internal/auth/kiro/oauth.go
    • Updated import paths to the new repository location.
  • internal/auth/kiro/oauth_web.go
    • Updated import paths to the new repository location.
  • internal/auth/kiro/refresh_manager.go
    • Updated import paths to the new repository location.
  • internal/auth/kiro/social_auth.go
    • Updated import paths to the new repository location.
  • internal/auth/kiro/sso_oidc.go
    • Added a regex pattern for OIDC region validation.
    • Updated CreateTokenWithRegion to normalize OIDC regions.
    • Added normalizeOIDCRegion function for region validation and defaulting.
  • internal/auth/kiro/usage_checker.go
    • Updated import paths to the new repository location.
  • internal/auth/qwen/qwen_auth.go
    • Updated import paths to the new repository location.
  • internal/auth/qwen/qwen_token.go
    • Updated import paths to the new repository location.
  • internal/auth/vertex/vertex_credentials.go
    • Updated import paths to the new repository location.
  • internal/cmd/anthropic_login.go
    • Updated import paths to the new repository location.
  • internal/cmd/antigravity_login.go
    • Updated import paths to the new repository location.
  • internal/cmd/auth_manager.go
    • Updated import paths to the new repository location.
  • internal/cmd/github_copilot_login.go
    • Updated import paths to the new repository location.
  • internal/cmd/iflow_cookie.go
    • Updated import paths to the new repository location.
  • internal/cmd/iflow_login.go
    • Updated import paths to the new repository location.
  • internal/cmd/kilo_login.go
    • Updated import paths to the new repository location.
  • internal/cmd/kimi_login.go
    • Updated import paths to the new repository location.
  • internal/cmd/kiro_login.go
    • Updated import paths to the new repository location.
  • internal/cmd/login.go
    • Updated import paths to the new repository location.
  • internal/cmd/openai_device_login.go
    • Updated import paths to the new repository location.
  • internal/cmd/openai_login.go
    • Updated import paths to the new repository location.
  • internal/cmd/qwen_login.go
    • Updated import paths to the new repository location.
  • internal/cmd/run.go
    • Updated import paths to the new repository location.
  • internal/cmd/vertex_import.go
    • Updated import paths to the new repository location.
  • internal/config/config.go
    • Updated import paths to the new repository location.
  • internal/config/config_generated.go
    • Updated code generation comment to reflect the new repository location.
  • internal/config/provider_registry_generated.go
    • Updated code generation comment to reflect the new repository location.
  • internal/interfaces/types.go
    • Updated import paths to the new repository location.
  • internal/logging/gin_logger.go
    • Updated import paths to the new repository location.
  • internal/logging/global_logger.go
    • Updated import paths to the new repository location.
  • internal/logging/request_logger.go
    • Updated import paths to the new repository location.
  • internal/managementasset/updater.go
    • Updated import paths to the new repository location.
  • internal/registry/model_registry.go
    • Updated import paths to the new repository location.
  • internal/runtime/executor/aistudio_executor.go
    • Updated import paths to the new repository location.
  • internal/runtime/executor/antigravity_executor.go
    • Updated import paths to the new repository location.
  • internal/runtime/executor/antigravity_executor_buildrequest_test.go
    • Updated import paths to the new repository location.
  • internal/runtime/executor/claude_executor.go
    • Updated import paths to the new repository location.
  • internal/runtime/executor/claude_executor_test.go
    • Updated import paths to the new repository location.
  • internal/runtime/executor/codex_executor.go
    • Updated import paths to the new repository location.
  • internal/runtime/executor/codex_websockets_executor.go
    • Updated import paths to the new repository location.
    • Fixed a function signature for logCodexWebsocketDisconnected.
  • internal/runtime/executor/gemini_cli_executor.go
    • Updated import paths to the new repository location.
  • internal/runtime/executor/gemini_executor.go
    • Updated import paths to the new repository location.
  • internal/runtime/executor/gemini_vertex_executor.go
    • Updated import paths to the new repository location.
  • internal/runtime/executor/github_copilot_executor.go
    • Updated import paths to the new repository location.
  • internal/runtime/executor/github_copilot_executor_test.go
    • Updated import paths to the new repository location.
  • internal/runtime/executor/iflow_executor.go
    • Updated import paths to the new repository location.
  • internal/runtime/executor/iflow_executor_test.go
    • Updated import paths to the new repository location.
  • internal/runtime/executor/kilo_executor.go
    • Updated import paths to the new repository location.
  • internal/runtime/executor/kimi_executor.go
    • Updated import paths to the new repository location.
  • internal/runtime/executor/kiro_executor.go
    • Updated import paths to the new repository location.
    • Removed a default Sonnet model mapping.
  • internal/runtime/executor/logging_helpers.go
    • Updated import paths to the new repository location.
  • internal/runtime/executor/openai_compat_executor.go
    • Updated import paths to the new repository location.
  • internal/runtime/executor/openai_compat_executor_compact_test.go
    • Updated import paths to the new repository location.
  • internal/runtime/executor/payload_helpers.go
    • Updated import paths to the new repository location.
  • internal/runtime/executor/proxy_helpers.go
    • Updated import paths to the new repository location.
  • internal/runtime/executor/qwen_executor.go
    • Updated import paths to the new repository location.
  • internal/runtime/executor/qwen_executor_test.go
    • Updated import paths to the new repository location.
  • internal/runtime/executor/thinking_providers.go
    • Updated import paths to the new repository location.
  • internal/runtime/executor/usage_helpers.go
    • Updated import paths to the new repository location.
  • internal/store/gitstore.go
    • Updated import paths to the new repository location.
  • internal/store/objectstore.go
    • Updated import paths to the new repository location.
  • internal/store/postgresstore.go
    • Updated import paths to the new repository location.
  • internal/thinking/apply.go
    • Updated import paths to the new repository location.
  • internal/thinking/convert.go
    • Updated import paths to the new repository location.
  • internal/thinking/provider/antigravity/apply.go
    • Updated import paths to the new repository location.
  • internal/thinking/provider/claude/apply.go
    • Updated import paths to the new repository location.
  • internal/thinking/provider/codex/apply.go
    • Updated import paths to the new repository location.
  • internal/thinking/provider/gemini/apply.go
    • Updated import paths to the new repository location.
  • internal/thinking/provider/geminicli/apply.go
    • Updated import paths to the new repository location.
  • internal/thinking/provider/iflow/apply.go
    • Updated import paths to the new repository location.
  • internal/thinking/provider/kimi/apply.go
    • Updated import paths to the new repository location.
  • internal/thinking/provider/openai/apply.go
    • Updated import paths to the new repository location.
  • internal/thinking/types.go
    • Updated import paths to the new repository location.
  • internal/thinking/validate.go
    • Updated import paths to the new repository location.
  • internal/translator/antigravity/claude/antigravity_claude_request.go
    • Updated import paths to the new repository location.
  • internal/translator/antigravity/claude/antigravity_claude_request_test.go
    • Updated import paths to the new repository location.
  • internal/translator/antigravity/claude/antigravity_claude_response.go
    • Updated import paths to the new repository location.
  • internal/translator/antigravity/claude/antigravity_claude_response_test.go
    • Updated import paths to the new repository location.
  • internal/translator/antigravity/claude/init.go
    • Updated import paths to the new repository location.
  • internal/translator/antigravity/gemini/antigravity_gemini_request.go
    • Updated import paths to the new repository location.
  • internal/translator/antigravity/gemini/init.go
    • Updated import paths to the new repository location.
  • internal/translator/antigravity/openai/chat-completions/antigravity_openai_request.go
    • Updated import paths to the new repository location.
  • internal/translator/antigravity/openai/chat-completions/antigravity_openai_response.go
    • Updated import paths to the new repository location.
  • internal/translator/antigravity/openai/chat-completions/init.go
    • Updated import paths to the new repository location.
  • internal/translator/antigravity/openai/responses/antigravity_openai-responses_request.go
    • Updated import paths to the new repository location.
  • internal/translator/antigravity/openai/responses/antigravity_openai-responses_response.go
    • Updated import paths to the new repository location.
  • internal/translator/antigravity/openai/responses/init.go
    • Updated import paths to the new repository location.
  • internal/translator/claude/gemini-cli/claude_gemini-cli_request.go
    • Updated import paths to the new repository location.
  • internal/translator/claude/gemini-cli/claude_gemini-cli_response.go
    • Updated import paths to the new repository location.
  • internal/translator/claude/gemini-cli/init.go
    • Updated import paths to the new repository location.
  • internal/translator/claude/gemini/claude_gemini_request.go
    • Updated import paths to the new repository location.
  • internal/translator/claude/gemini/init.go
    • Updated import paths to the new repository location.
  • internal/translator/claude/openai/chat-completions/claude_openai_request.go
    • Updated import paths to the new repository location.
    • Added logic to skip empty text content parts during conversion.
  • internal/translator/claude/openai/chat-completions/init.go
    • Updated import paths to the new repository location.
  • internal/translator/claude/openai/responses/claude_openai-responses_request.go
    • Updated import paths to the new repository location.
  • internal/translator/claude/openai/responses/init.go
    • Updated import paths to the new repository location.
  • internal/translator/codex/claude/codex_claude_request.go
    • Updated import paths to the new repository location.
  • internal/translator/codex/claude/init.go
    • Updated import paths to the new repository location.
  • internal/translator/codex/gemini-cli/codex_gemini-cli_request.go
    • Updated import paths to the new repository location.
  • internal/translator/codex/gemini-cli/codex_gemini-cli_response.go
    • Updated import paths to the new repository location.
  • internal/translator/codex/gemini-cli/init.go
    • Updated import paths to the new repository location.
  • internal/translator/codex/gemini/codex_gemini_request.go
    • Updated import paths to the new repository location.
  • internal/translator/codex/gemini/init.go
    • Updated import paths to the new repository location.
  • internal/translator/codex/openai/chat-completions/init.go
    • Updated import paths to the new repository location.
  • internal/translator/codex/openai/responses/init.go
    • Updated import paths to the new repository location.
  • internal/translator/gemini-cli/claude/gemini-cli_claude_request.go
    • Updated import paths to the new repository location.
  • internal/translator/gemini-cli/claude/init.go
    • Updated import paths to the new repository location.
  • internal/translator/gemini-cli/gemini/gemini-cli_gemini_request.go
    • Updated import paths to the new repository location.
  • internal/translator/gemini-cli/gemini/init.go
    • Updated import paths to the new repository location.
  • internal/translator/gemini-cli/openai/chat-completions/gemini-cli_openai_request.go
    • Updated import paths to the new repository location.
  • internal/translator/gemini-cli/openai/chat-completions/gemini-cli_openai_response.go
    • Updated import paths to the new repository location.
  • internal/translator/gemini-cli/openai/chat-completions/init.go
    • Updated import paths to the new repository location.
  • internal/translator/gemini-cli/openai/responses/gemini-cli_openai-responses_request.go
    • Updated import paths to the new repository location.
  • internal/translator/gemini-cli/openai/responses/gemini-cli_openai-responses_response.go
    • Updated import paths to the new repository location.
  • internal/translator/gemini-cli/openai/responses/init.go
    • Updated import paths to the new repository location.
  • internal/translator/gemini/claude/gemini_claude_request.go
    • Updated import paths to the new repository location.
  • internal/translator/gemini/claude/init.go
    • Updated import paths to the new repository location.
  • internal/translator/gemini/gemini-cli/gemini_gemini-cli_request.go
    • Updated import paths to the new repository location.
  • internal/translator/gemini/gemini-cli/init.go
    • Updated import paths to the new repository location.
  • internal/translator/gemini/gemini/gemini_gemini_request.go
    • Updated import paths to the new repository location.
  • internal/translator/gemini/gemini/init.go
    • Updated import paths to the new repository location.
  • internal/translator/gemini/openai/chat-completions/gemini_openai_request.go
    • Updated import paths to the new repository location.
  • internal/translator/gemini/openai/chat-completions/init.go
    • Updated import paths to the new repository location.
  • internal/translator/gemini/openai/responses/gemini_openai-responses_request.go
    • Updated import paths to the new repository location.
    • Fixed a bug where nullable type arrays were incorrectly converted during tool schema conversion.
  • internal/translator/gemini/openai/responses/init.go
    • Updated import paths to the new repository location.
  • internal/translator/init.go
    • Updated import paths to the new repository location.
  • internal/translator/kiro/claude/init.go
    • Updated import paths to the new repository location.
  • internal/translator/kiro/claude/kiro_claude_request.go
    • Updated import paths to the new repository location.
  • internal/translator/kiro/claude/kiro_claude_response.go
    • Updated import paths to the new repository location.
  • internal/translator/kiro/claude/kiro_claude_stream.go
    • Updated import paths to the new repository location.
  • internal/translator/kiro/claude/kiro_claude_tools.go
    • Updated import paths to the new repository location.
  • internal/translator/kiro/claude/kiro_websearch_handler.go
    • Added new structs for MCP requests, parameters, arguments, responses, errors, and results.
    • Implemented caching for web_search tool descriptions using atomic operations.
    • Added FetchToolDescription to retrieve and cache web_search tool metadata.
    • Added GetWebSearchDescription to access the cached tool description.
    • Added ParseSearchResults to extract web search results from MCP responses.
  • internal/translator/kiro/claude/tool_compression.go
    • Updated import paths to the new repository location.
  • internal/translator/kiro/claude/truncation_detector.go
    • Simplified the RequiredFieldsByTool map structure.
    • Updated findMissingRequiredFields logic to align with the new map structure.
  • internal/translator/kiro/openai/init.go
    • Updated import paths to the new repository location.
  • internal/translator/kiro/openai/kiro_openai.go
    • Updated import paths to the new repository location.
  • internal/translator/kiro/openai/kiro_openai_request.go
    • Updated import paths to the new repository location.
  • internal/translator/kiro/openai/kiro_openai_response.go
    • Updated import paths to the new repository location.
  • internal/translator/kiro/openai/kiro_openai_stream.go
    • Updated import paths to the new repository location.
  • internal/translator/openai/claude/init.go
    • Updated import paths to the new repository location.
  • internal/translator/openai/claude/openai_claude_request.go
    • Updated import paths to the new repository location.
  • internal/translator/openai/claude/openai_claude_response.go
    • Updated import paths to the new repository location.
  • internal/translator/openai/gemini-cli/init.go
    • Updated import paths to the new repository location.
  • internal/translator/openai/gemini-cli/openai_gemini_request.go
    • Updated import paths to the new repository location.
  • internal/translator/openai/gemini-cli/openai_gemini_response.go
    • Updated import paths to the new repository location.
  • internal/translator/openai/gemini/init.go
    • Updated import paths to the new repository location.
  • internal/translator/openai/gemini/openai_gemini_request.go
    • Updated import paths to the new repository location.
  • internal/translator/openai/openai/chat-completions/init.go
    • Updated import paths to the new repository location.
  • internal/translator/openai/openai/responses/init.go
    • Updated import paths to the new repository location.
  • internal/translator/translator/translator.go
    • Updated import paths to the new repository location.
  • internal/usage/logger_plugin.go
    • Updated import paths to the new repository location.
  • internal/util/provider.go
    • Updated import paths to the new repository location.
  • internal/util/proxy.go
    • Updated import paths to the new repository location.
  • internal/util/util.go
    • Updated import paths to the new repository location.
  • internal/watcher/clients.go
    • Updated import paths to the new repository location.
  • internal/watcher/config_reload.go
    • Updated import paths to the new repository location.
  • internal/watcher/diff/auth_diff.go
    • Updated import paths to the new repository location.
  • internal/watcher/diff/config_diff.go
    • Updated import paths to the new repository location.
  • internal/watcher/diff/config_diff_test.go
    • Updated import paths to the new repository location.
  • internal/watcher/diff/model_hash.go
    • Updated import paths to the new repository location.
  • internal/watcher/diff/model_hash_test.go
    • Updated import paths to the new repository location.
  • internal/watcher/diff/models_summary.go
    • Updated import paths to the new repository location.
  • internal/watcher/diff/oauth_excluded.go
    • Updated import paths to the new repository location.
  • internal/watcher/diff/oauth_excluded_test.go
    • Updated import paths to the new repository location.
  • internal/watcher/diff/oauth_model_alias.go
    • Updated import paths to the new repository location.
  • internal/watcher/diff/openai_compat.go
    • Updated import paths to the new repository location.
  • internal/watcher/diff/openai_compat_test.go
    • Updated import paths to the new repository location.
  • internal/watcher/dispatcher.go
    • Updated import paths to the new repository location.
  • internal/watcher/events.go
    • Updated import paths to the new repository location.
  • internal/watcher/synthesizer/config.go
    • Updated import paths to the new repository location.
  • internal/watcher/synthesizer/config_test.go
    • Updated import paths to the new repository location.
  • internal/watcher/synthesizer/context.go
    • Updated import paths to the new repository location.
  • internal/watcher/synthesizer/file.go
    • Updated import paths to the new repository location.
  • internal/watcher/synthesizer/file_test.go
    • Updated import paths to the new repository location.
  • internal/watcher/synthesizer/helpers.go
    • Updated import paths to the new repository location.
  • internal/watcher/synthesizer/helpers_test.go
    • Updated import paths to the new repository location.
  • internal/watcher/synthesizer/interface.go
    • Updated import paths to the new repository location.
  • internal/watcher/watcher.go
    • Updated import paths to the new repository location.
  • internal/watcher/watcher_test.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/access/config_access/provider.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/access/config_access/provider_test.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/access/reconcile.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/aliases.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/handlers/management/api_tools.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/handlers/management/api_tools_test.go
    • Removed several tests related to host override and API call transport misconfiguration.
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/handlers/management/auth_files.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/handlers/management/config_basic.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/handlers/management/config_lists.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/handlers/management/handler.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/handlers/management/logs.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/handlers/management/management_auth_test.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/handlers/management/management_basic_test.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/handlers/management/management_extra_test.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/handlers/management/management_fields_test.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/handlers/management/management_modelstates_test.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/handlers/management/model_definitions.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/handlers/management/routing_select.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/handlers/management/usage.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/handlers/management/vertex_import.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/handlers/routing_handler.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/middleware/request_logging.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/middleware/request_logging_test.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/middleware/response_writer.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/middleware/response_writer_test.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/modules/amp/amp.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/modules/amp/amp_test.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/modules/amp/fallback_handlers.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/modules/amp/fallback_handlers_test.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/modules/amp/model_mapping.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/modules/amp/model_mapping_test.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/modules/amp/proxy_test.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/modules/amp/routes.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/modules/amp/routes_test.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/modules/amp/secret.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/modules/amp/secret_test.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/api/modules/modules.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/auth/antigravity/auth.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/auth/claude/anthropic_auth.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/auth/claude/token.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/auth/claude/utls_transport.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/auth/codex/openai_auth.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/auth/codex/openai_auth_test.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/auth/codex/token.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/auth/copilot/copilot_auth.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/auth/copilot/copilot_auth_test.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/auth/copilot/copilot_extra_test.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/auth/copilot/oauth.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/auth/copilot/token.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/auth/diff/auth_diff.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/auth/diff/config_diff.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/auth/diff/config_diff_test.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/auth/diff/diff_generated.go
    • Updated code generation comment and import paths to the new repository location.
  • pkg/llmproxy/auth/diff/model_hash.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/auth/diff/model_hash_test.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/auth/diff/models_summary.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/auth/diff/oauth_excluded.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/auth/diff/oauth_excluded_test.go
    • Updated import paths to the new repository location.
  • pkg/llmproxy/auth/diff/oauth_model_alias.go
    • Updated import paths to the new repository location.
Ignored Files
  • Ignored by pattern: .github/workflows/** (5)
    • .github/workflows/codeql.yml
    • .github/workflows/docs.yml
    • .github/workflows/pr-path-guard.yml
    • .github/workflows/pr-test-build.yml
    • .github/workflows/vitepress-pages.yml
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request primarily consists of a large-scale refactoring to update import paths across the codebase, which seems to be related to a repository rename or fork. The changes are mostly correct, but I've found a few issues. There's a critical issue with a missed import path update that will break the build. I also found a potential logic bug in the truncation detection logic and a minor issue with redundant logging. Please see my detailed comments.

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"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

This import path has not been updated to the new repository path. This will cause a build failure.

Suggested change
import sdkconfig "github.com/router-for-me/CLIProxyAPI/v6/sdk/config"
import sdkconfig "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/config"

Comment on lines +56 to 69
// RequiredFieldsByTool maps tool names to their required fields.
// If any of these fields are missing, the tool input is considered truncated.
var RequiredFieldsByTool = map[string][]string{
"Write": {"file_path", "content"},
"write_to_file": {"path", "content"},
"fsWrite": {"path", "content"},
"create_file": {"path", "content"},
"edit_file": {"path"},
"apply_diff": {"path", "diff"},
"str_replace_editor": {"path", "old_str", "new_str"},
"Bash": {"command", "cmd"}, // Ampcode uses "cmd", others use "command"
"execute": {"command"},
"run_command": {"command"},
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The refactoring of RequiredFieldsByTool and findMissingRequiredFields has introduced a logic error. The previous implementation correctly handled alternative required fields (e.g., cmd OR command for the Bash tool) by using groups. The new implementation checks for the presence of ALL fields listed for a tool, which is incorrect for tools with alternative field names like Bash.

For example, for the Bash tool, it will now require both command and cmd to be present, which is incorrect based on the comment // Ampcode uses 'cmd', others use 'command'.

This logic should be reverted to its previous state to correctly handle alternative fields. You should also revert the findMissingRequiredFields function to its previous implementation.

// RequiredFieldsByTool maps tool names to their required field groups.
// Each outer element is a required group; each inner slice lists alternative field names (OR logic).
// A group is satisfied when ANY one of its alternatives exists in the parsed input.
// All groups must be satisfied for the tool input to be considered valid.
//
// Example:
// {{"cmd", "command"}} means the tool needs EITHER "cmd" OR "command".
// {{"file_path"}, {"content"}} means the tool needs BOTH "file_path" AND "content".
var RequiredFieldsByTool = map[string][][]string{
	"Write":              {{"file_path"}, {"content"}},
	"write_to_file":      {{"path"}, {"content"}},
	"fsWrite":            {{"path"}, {"content"}},
	"create_file":        {{"path"}, {"content"}},
	"edit_file":          {{"path"}},
	"apply_diff":         {{"path"}, {"diff"}},
	"str_replace_editor": {{"path"}, {"old_str"}, {"new_str"}},
	"Bash":               {{"cmd", "command"}},
	"execute":            {{"command"}},
	"run_command":        {{"command"}},
}

@@ -61,13 +70,20 @@ func (ts *ClaudeTokenStorage) SaveTokenToFile(authFilePath string) error {
misc.LogSavingCredentials(authFilePath)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This log call is redundant and logs the original, potentially unsafe authFilePath. The subsequent call on line 78 logs the sanitized safePath. This first call should be removed to avoid logging unsanitized data and to remove redundancy.

@KooshaPari
Copy link
Copy Markdown
Owner Author

@coderabbitai full review

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Feb 26, 2026

✅ Actions performed

Full review triggered.

@KooshaPari
Copy link
Copy Markdown
Owner Author

Closing: stale with merge conflicts. Reopen and rebase if still needed.

@KooshaPari KooshaPari closed this Feb 27, 2026
@KooshaPari KooshaPari deleted the chore/fix-gh-pages-workflow-gates-pr branch February 27, 2026 09:24
@KooshaPari KooshaPari restored the chore/fix-gh-pages-workflow-gates-pr branch February 27, 2026 09:46
@KooshaPari KooshaPari deleted the chore/fix-gh-pages-workflow-gates-pr branch February 27, 2026 09:47
@KooshaPari KooshaPari restored the chore/fix-gh-pages-workflow-gates-pr branch February 27, 2026 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant