feat(relay): hosted-tool conversion fidelity, reasoning normalization, and billing usage integrity (#7137) * feat(relaykit): preserve hosted tools across conversions - add protocol-neutral hosted-tool DTOs, conversion metadata, and loss policies - bridge citations, grounding metadata, and hosted-tool stream lifecycles - document the public conversion behavior and channel policy controls * refactor(relaykit): normalize reasoning and thinking intent - centralize provider-neutral reasoning intent, effort, and budget mappings - parse model suffixes at the host entry boundary while preserving provider-owned tails - keep adaptive Claude thinking and explicit zero-token compatibility consistent * fix(billing): preserve authoritative usage across relay hops - carry native BillingUsage sidecars through direct and streamed protocol bridges - merge partial and terminal usage monotonically with safe fallback settlement - retain cache metadata, penultimate usage, and per-call Gemini tool surcharges * feat(relay): bridge Responses with Claude and Gemini protocols - add direct request, response, and stream converters across supported relay formats - expose Claude count_tokens and Chat-to-Responses compatibility endpoints - carry conversion diagnostics through the host while retaining the curated public goldens * fix(relay): wire relaykit conversions into host channels - connect handlers, adaptors, and channel settings to the standalone conversion layer - keep model mapping, pricing identity, retries, and provider-specific suffix behavior aligned - ignore local audit artifacts and retain focused public regression coverage
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| ability.go | Loading commit data... | |
| auth_flow.go | Loading commit data... | |
| auth_flow_test.go | Loading commit data... | |
| authz_role.go | Loading commit data... | |
| casbin_rule.go | Loading commit data... | |
| channel.go | Loading commit data... | |
| channel_cache.go | Loading commit data... | |
| channel_constraint.go | Loading commit data... | |
| channel_constraint_test.go | Loading commit data... | |
| channel_satisfy.go | Loading commit data... | |
| channel_settings_test.go | Loading commit data... | |
| channel_status_test.go | Loading commit data... | |
| checkin.go | Loading commit data... | |
| clickhouse_log_test.go | Loading commit data... | |
| custom_oauth_provider.go | Loading commit data... | |
| db_time.go | Loading commit data... | |
| errors.go | Loading commit data... | |
| external_identity_claim.go | Loading commit data... | |
| external_identity_claim_test.go | Loading commit data... | |
| frontend_option_migration.go | Loading commit data... | |
| frontend_option_migration_test.go | Loading commit data... | |
| gorm_logger.go | Loading commit data... | |
| gorm_logger_test.go | Loading commit data... | |
| json_column_test.go | Loading commit data... | |
| locking.go | Loading commit data... | |
| locking_test.go | Loading commit data... | |
| log.go | Loading commit data... | |
| log_format_test.go | Loading commit data... | |
| main.go | Loading commit data... | |
| midjourney.go | Loading commit data... | |
| missing_models.go | Loading commit data... | |
| model_extra.go | Loading commit data... | |
| model_meta.go | Loading commit data... | |
| model_owner_test.go | Loading commit data... | |
| option.go | Loading commit data... | |
| option_auto_group_test.go | Loading commit data... | |
| option_task_plugin_test.go | Loading commit data... | |
| passkey.go | Loading commit data... | |
| password_crypto.go | Loading commit data... | |
| payment_method_guard_test.go | Loading commit data... | |
| perf_metric.go | Loading commit data... | |
| prefill_group.go | Loading commit data... | |
| prefill_group_migration.go | Loading commit data... | |
| prefill_group_migration_test.go | Loading commit data... | |
| pricing.go | Loading commit data... | |
| pricing_default.go | Loading commit data... | |
| pricing_endpoint_test.go | Loading commit data... | |
| pricing_refresh.go | Loading commit data... | |
| pricing_usage_schema_test.go | Loading commit data... | |
| quota_reserve.go | Loading commit data... | |
| quota_reserve_test.go | Loading commit data... | |
| redemption.go | Loading commit data... | |
| redemption_test.go | Loading commit data... | |
| setup.go | Loading commit data... | |
| subscription.go | Loading commit data... | |
| subscription_auth_test.go | Loading commit data... | |
| subscription_reset_test.go | Loading commit data... | |
| system_instance.go | Loading commit data... | |
| system_task.go | Loading commit data... | |
| system_task_test.go | Loading commit data... | |
| task.go | Loading commit data... | |
| task_cas_test.go | Loading commit data... | |
| task_model_alias.go | Loading commit data... | |
| task_openai_video_test.go | Loading commit data... | |
| task_plugin.go | Loading commit data... | |
| task_plugin_channel_select_test.go | Loading commit data... | |
| task_plugin_test.go | Loading commit data... | |
| token.go | Loading commit data... | |
| token_auto_groups_cache_test.go | Loading commit data... | |
| token_cache.go | Loading commit data... | |
| token_migration.go | Loading commit data... | |
| token_migration_test.go | Loading commit data... | |
| topup.go | Loading commit data... | |
| twofa.go | Loading commit data... | |
| usedata.go | Loading commit data... | |
| usedata_flow.go | Loading commit data... | |
| usedata_flow_test.go | Loading commit data... | |
| usedata_rankings.go | Loading commit data... | |
| user.go | Loading commit data... | |
| user_auth_cache.go | Loading commit data... | |
| user_authentication_test.go | Loading commit data... | |
| user_cache.go | Loading commit data... | |
| user_cache_auth_version_test.go | Loading commit data... | |
| user_oauth_binding.go | Loading commit data... | |
| user_pagination_test.go | Loading commit data... | |
| user_session.go | Loading commit data... | |
| user_session_migration_test.go | Loading commit data... | |
| user_session_test.go | Loading commit data... | |
| user_update_test.go | Loading commit data... | |
| utils.go | Loading commit data... | |
| vendor_meta.go | Loading commit data... |