Repository navigation
sync(upstream): 10 commits from upstream - #39
Conversation
…tor's line-number layer that was overlaying and hiding highlighted editor content, accepting the prior horizontal-scroll gutter overlap as a known cosmetic tradeoff Upstream-commit: ae17f27
…-image' and 'gemini-3.1-flash-image' in the channel model list and mark them as image-generation models in default Gemini settings Upstream-commit: 8b41def
… so single-segment TokenHub API keys are routed through the OpenAI-compatible adaptor (with the TokenHub base URL) while legacy three-segment ak/sk keys continue using the native TC3 adaptor. Upstream-commit: 08f88d2
…d can be fully cleared (empty string no longer reset to "0" by the prop-sync effect), and enforce the global minimum topup per payment method via Math.max with getMinTopupAmount. Upstream-commit: ab65d25
…to avoid triggering filtering/fetching on every keystroke (performance improvement) Upstream-commit: 3e1e728
…rovider surcharge settlement in billing, a new Sub2API upstream channel type, a /v1/alpha/search relay endpoint, and surcharge breakdown display in the usage-log UI. Upstream-commit: 2d23cdf
…ion sweep and its CAS tests, advances the refund legacy cutoff to 2026-02-22, and gates the async-task poller on unfinished sync tasks instead of the old polling-work check. Upstream-commit: bc14c18
…wn relay adaptor, API/channel type constants, an OpenAI ResponseCompact endpoint type, and corresponding web UI configuration, refactoring shared logic out of the Sub2API adaptor. Upstream-commit: 398cdaf
…ompact by adding APITypeAdvancedCustom to the IsResponsesCompactAPIType allowlist Upstream-commit: f51dd4d
…layconvert, reasonmap) into a standalone, dependency-free 'relaykit' Go submodule, decoupling converters from gin/RelayInfo/settings via new convmeta.Meta/convmeta.Options and kitutil abstractions, with byte-level conversion behavior pinned by golden snapshot tests Upstream-commit: 86ac0f7
…use dto and types packages relocated under the relaykit module Upstream-commit: 60a1acb
… of relaykit/types into the host repo's top-level types package and update all importers, decoupling the relaykit submodule from the host module Upstream-commit: b8bb3f4
…package into the middleware package, exporting it as ConfigureTrustedProxies with no behavioral change Upstream-commit: 8aa5e75
…eases (on non-alpha tags or manual dispatch) to GitCode, waiting for other release workflows before syncing assets. Upstream-commit: 8a7a490
…nc workflow by replacing ASCII apostrophes with Unicode right single quotes so they cannot break the downstream single-quoted shell script in sync_to_gitcode. Upstream-commit: 2ec6171
…ng asset filenames and publishing a bootstrap asset plus an asset matrix as workflow job outputs Upstream-commit: 6d57d25
…e GitCode API (using GITCODE_TOKEN/GITCODE_REPOSITORY) and expose has_bootstrap_asset/has_matrix_assets job outputs so bootstrap and matrix asset handling can be driven by what already exists on GitCode rather than purely local file inspection. Upstream-commit: f3ab2cf
…on and ensure converted SSE streams emit proper terminal events (finish_reason/[DONE] for OpenAI, message_start/content_block_stop/message_delta/message_stop for Claude) with usage propagation across Gemini→OpenAI, Gemini→Claude, and OpenAI Responses→Claude paths. Upstream-commit: a043eef
…by prioritizing iPad detection in the user-agent parsing of sessionDevice (iPad Safari UAs contain 'Mac OS X'), and relocate the utility tests into a __tests__ directory. Upstream-commit: b27b2b1
…col selection and HTTP/2 connection sharding) with validation, a sharded transport implementation in the HTTP client layer, relay adapters passing channel settings through, and corresponding web UI/i18n support. Upstream-commit: e99a9bd
|
Important Review skippedIgnore keyword(s) in the title. ⛔ Ignored keywords (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
|
Tick the box to add this pull request to the merge queue (same as
|
Resolve PR 39 conflicts: - Keep fork channel renumbering (AstraFlow=59, Sub2API=60, NewAPI=61) in web channel config, icon map, and tests - Preserve fork fixes from main: relaykit/types ErrorCodeStream constants, relaykit/dto imports in controller/playground.go and plugin_loop, task adaptor taskdto aliasing - Complete PR 39's PriceData/RWMap/Set move: root types/ holds them, all host importers (ratio_setting, model/log.go, service/task_billing.go, controller/task.go) point at root types - Keep relaykit go.mod dependency-free (drop stale shopspring/decimal), bump indirect x/text to v0.37.0 to match root module
|
Conflict resolution on this branch (commit |
Upstream Sync: 10 Commits
Upstream Commits
60a1acb703a6b8bb3f40ac9d8aa5e754a86b8a7a49072ab02ec6171faa746d57d250f88ef3ab2cff36b3a043eef559a9b27b2b1d6f72e99a9bd86fb2Affected Surfaces
GITCODE_REPOSITORYGITCODE_TOKENGeminiChatToOaiChatRespConverterOaiChatToClaudeMessagesRespConverterOaiResponsesToChatStreamHandlerResponseConverterRegistrySSE terminal-event wire format for converted streamsTRUSTED_PROXIESTextConverterRegistrychannel settings JSON keys (http_protocol, http2_connection_shards)dto.ChannelSettings.HTTP2ConnectionShardsdto.ChannelSettings.HTTPProtocoldto.ChannelSettings.ValidateHTTPTransporthas_bootstrap_assethas_matrix_assetsloginMethodLabelmiddleware.ConfigureTrustedProxiesrelay adaptor request paths passing channel settings into HTTP client selectionservice HTTP client resolution honoring per-channel transport policy (new http_transport_policy.go / http_transport_sharded.go)sessionDevicetypes.PriceDatatypes.RWMaptypes.SetTransformations Applied
relay/channel/newapi/adaptor.gocontroller/channel-test.gocontroller/channel_test_internal_test.gocontroller/task.gomodel/log.gomodel/pricing.gorelay/chat_completions_via_responses_test.gorelay/common/relay_info.gorelay/helper/price.gorelaykit/go.modrelaykit/go.sumrelaykit/types/price_data.gorelaykit/types/rw_map.gorelaykit/types/set.goservice/log_info_generate.goservice/quota.goservice/task_billing.goservice/task_billing_test.goservice/text_quota_test.gosetting/ratio_setting/cache_ratio.gosetting/ratio_setting/group_ratio.gosetting/ratio_setting/model_ratio.gotypes/price_data.gotypes/rw_map.gotypes/set.gomain.gomiddleware/trusted_proxies.gomiddleware/trusted_proxies_test.gotrusted_proxies.gotrusted_proxies_test.go.github/workflows/sync-release-to-gitcode.yml.github/workflows/sync-release-to-gitcode.yml.github/workflows/sync-release-to-gitcode.yml.github/workflows/sync-release-to-gitcode.ymlrelaykit/relayconvert/internal/gemini_chat/to_oai_chat_resp.gorelaykit/relayconvert/internal/oai_chat/to_claude_messages_resp.gorelaykit/relayconvert/response_registry.gorelaykit/relayconvert/terminal_stream_test.gorelaykit/relayconvert/testdata/golden/stream/gemini_to_claude.golden.jsonrelaykit/relayconvert/testdata/golden/stream/gemini_to_openai.golden.jsonrelaykit/relayconvert/testdata/golden/stream/openai_responses_to_claude.golden.jsonrelaykit/relayconvert/text_converter_registry.gorelaykit/relayconvert/text_converter_registry_test.gorelay/channel/openai/chat_via_responses_test.goweb/src/features/profile/components/__tests__/login-session-utils.test.tsweb/src/features/profile/components/login-session-item.tsxweb/src/features/profile/components/login-session-utils.test.tsweb/src/features/profile/components/login-session-utils.tsmodel/channel.gomodel/channel_settings_test.gorelay/channel/api_request.gorelay/channel/aws/relay-aws.gorelay/channel/coze/relay-coze.gorelay/channel/vertex/service_account.gorelaykit/dto/channel_settings.gorelaykit/dto/channel_settings_test.goservice/http_client.goservice/http_client_transport_test.goservice/http_transport_policy.goservice/http_transport_sharded.goweb/src/features/channels/components/drawers/channel-mutate-drawer.tsxweb/src/features/channels/constants.tsweb/src/features/channels/lib/channel-form-errors.tsweb/src/features/channels/lib/channel-form.tsweb/src/features/channels/types.tsweb/src/i18n/locales/en.jsonweb/src/i18n/locales/zh-TW.jsonweb/src/i18n/locales/zh.jsonweb/src/i18n/locales/fr.json(): resolve returned neither edits nor contentweb/src/i18n/locales/ja.json(): resolve returned neither edits nor contentweb/src/i18n/locales/ru.json(): resolve returned neither edits nor contentweb/src/i18n/locales/vi.json(): resolve returned neither edits nor content❌ Unresolved Build Failures
web/src/i18n/locales/fr.json: resolve returned neither edits nor content — Suggestion: Resolve manually — see the conflict summary in this PR.web/src/i18n/locales/ja.json: resolve returned neither edits nor content — Suggestion: Resolve manually — see the conflict summary in this PR.web/src/i18n/locales/ru.json: resolve returned neither edits nor content — Suggestion: Resolve manually — see the conflict summary in this PR.web/src/i18n/locales/vi.json: resolve returned neither edits nor content — Suggestion: Resolve manually — see the conflict summary in this PR.🤖 Created by upstream-semantic-sync