This website requires JavaScript.
Explore
Help
Register
Sign In
seewe
/
sub2api
Watch
1
Star
0
Fork
0
mirror of
https://github.com/Wei-Shaw/sub2api.git
synced
2026-10-14 12:02:27 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
0fcec63b685f51cafaff3983dda66a718520c564
sub2api
/
backend
/
internal
/
service
T
History
shaw
0fcec63b68
test(openai): isolate visible TTFT fixture
2026-08-31 15:15:44 +08:00
..
openai_ws_v2
…
prompts
…
testdata
…
account_anthropic_passthrough_test.go
…
account_base_url_test.go
…
account_billing_rate_multiplier_test.go
…
account_codex_cli_only_app_server_test.go
…
account_codex_fingerprint_seed_lifecycle_test.go
…
account_credential_shadow_skip_test.go
…
account_credentials_persistence.go
…
account_credentials_redact_test.go
…
account_credentials_redact.go
…
account_expiry_service.go
…
account_grok_media_eligibility_test.go
…
account_grok_media_eligibility.go
…
account_group.go
…
account_header_override_test.go
…
account_header_override.go
…
account_intercept_warmup_test.go
…
account_load_factor_test.go
…
account_long_context_billing_test.go
…
account_openai_compact_test.go
…
account_openai_passthrough_test.go
…
account_pool_mode_test.go
…
account_pool_retry_status_codes_test.go
…
account_quota_reset_test.go
…
account_quota_schedulable_test.go
…
account_repository_refresh_candidates_unit_test.go
…
account_rpm_test.go
…
account_scheduling_threshold_eval_test.go
…
account_scheduling_threshold_eval.go
…
account_scheduling_threshold_integration_test.go
…
account_scheduling_threshold_reason_test.go
…
account_scheduling_threshold_reason.go
…
account_service_delete_test.go
…
account_service.go
…
account_spark_shadow_test.go
…
account_stats_pricing_test.go
…
account_stats_pricing.go
…
account_test_service_antigravity_test.go
…
account_test_service_cn_adaptive_test.go
…
account_test_service_cn_adaptive.go
…
account_test_service_gemini_test.go
…
account_test_service_grok_test.go
…
account_test_service_openai_compact_test.go
…
account_test_service_openai_image_test.go
…
account_test_service_openai_test.go
…
account_test_service.go
…
account_usage_service_batch_test.go
…
account_usage_service_fable_test.go
…
account_usage_service_spark_shadow_test.go
…
account_usage_service_test.go
…
account_usage_service.go
…
account_usage_session_window_test.go
…
account_websearch_test.go
…
account_wildcard_test.go
…
account.go
…
adaptive_api_protocol_test.go
…
admin_account_concurrency_test.go
…
admin_account_upstream_billing_probe_test.go
…
admin_account.go
…
admin_balance_history_test.go
…
admin_compliance_test.go
…
admin_compliance.go
…
admin_group_duplicate_test.go
…
admin_group_duplicate.go
…
admin_group_platform_cache_test.go
…
admin_group.go
…
admin_proxy.go
…
admin_service_apikey_test.go
…
admin_service_auth_identity_binding_test.go
…
admin_service_batch_limits_test.go
…
admin_service_bulk_update_test.go
…
admin_service_clear_error_test.go
…
admin_service_composite_group_test.go
…
admin_service_create_user_test.go
…
admin_service_credentials_merge_test.go
…
admin_service_delete_test.go
…
admin_service_duplicate_account_test.go
…
admin_service_email_identity_sync_test.go
…
admin_service_get_deleted_test.go
…
admin_service_group_rate_test.go
…
admin_service_group_test.go
…
admin_service_list_users_test.go
…
admin_service_overages_test.go
…
admin_service_proxy_quality_test.go
…
admin_service_reset_quota_test.go
…
admin_service_role_test.go
…
admin_service_rpm_status_test.go
…
admin_service_search_test.go
…
admin_service_spark_shadow_test.go
…
admin_service_update_balance_test.go
…
admin_service_update_user_rpm_test.go
…
admin_service.go
…
admin_user.go
…
affiliate_service_test.go
…
affiliate_service.go
…
aliyun_captcha_service_test.go
…
aliyun_captcha_service.go
…
announcement_service_test.go
…
announcement_service.go
…
announcement_targeting_test.go
…
announcement.go
…
anthropic_apikey_auth.go
…
anthropic_session_test.go
…
anthropic_session.go
…
antigravity_credits_overages_test.go
…
antigravity_credits_overages.go
…
antigravity_default_test_stubs_test.go
…
antigravity_gateway_claude.go
…
antigravity_gateway_compat_stream.go
…
antigravity_gateway_compat_test.go
…
antigravity_gateway_compat.go
…
antigravity_gateway_gemini.go
…
antigravity_gateway_retry.go
…
antigravity_gateway_service_test.go
…
antigravity_gateway_service.go
…
antigravity_gateway_streaming.go
…
antigravity_gateway_upstream.go
…
antigravity_image_test.go
…
antigravity_internal500_penalty_test.go
…
antigravity_internal500_penalty.go
…
antigravity_model_mapping_test.go
…
antigravity_oauth_service_test.go
…
antigravity_oauth_service.go
…
antigravity_privacy_service_test.go
…
antigravity_privacy_service.go
…
antigravity_quota_fetcher_test.go
…
antigravity_quota_fetcher.go
…
antigravity_quota_scope.go
…
antigravity_rate_limit_test.go
…
antigravity_single_account_retry_test.go
…
antigravity_smart_retry_test.go
…
antigravity_subscription_service.go
…
antigravity_subscription_test.go
…
antigravity_thinking_test.go
…
antigravity_token_provider_test.go
…
antigravity_token_provider.go
…
antigravity_token_refresher.go
…
api_key_auth_cache_impl.go
…
api_key_auth_cache_invalidate.go
…
api_key_auth_cache_pricing_test.go
…
api_key_auth_cache_profit_test.go
…
api_key_auth_cache_version_test.go
…
api_key_auth_cache.go
…
api_key_rate_limit_test.go
…
api_key_service_cache_test.go
…
api_key_service_delete_test.go
…
api_key_service_quota_test.go
…
api_key_service_touch_last_used_test.go
…
api_key_service_update_fields_test.go
…
api_key_service_validation_test.go
…
api_key_service.go
…
api_key.go
…
audit_log_service.go
…
audit_log_test.go
…
audit_log.go
…
auth_cache_invalidation_outbox_test.go
…
auth_cache_invalidation_outbox.go
…
auth_cache_invalidation_test.go
…
auth_email_binding.go
…
auth_email_oauth_auto_test.go
…
auth_email_oauth_auto.go
…
auth_oauth_email_flow_test.go
…
auth_oauth_email_flow.go
…
auth_oauth_first_bind.go
…
auth_pending_identity_service_test.go
…
auth_pending_identity_service.go
…
auth_service_captcha_test.go
…
auth_service_email_bind_test.go
…
auth_service_identity_sync_test.go
…
auth_service_invitation_race_test.go
…
auth_service_platform_quota_test.go
…
auth_service_register_test.go
…
auth_service_test.go
…
auth_service_turnstile_register_test.go
…
auth_service.go
…
backup_archive_test.go
…
backup_archive.go
…
backup_service_test.go
…
backup_service.go
…
balance_notify_check_test.go
…
balance_notify_email_body_test.go
…
balance_notify_service_test.go
…
balance_notify_service.go
…
batch_image_billing_hold.go
…
batch_image_billing_recovery_test.go
…
batch_image_billing_recovery.go
…
batch_image_cleanup_test.go
…
batch_image_cleanup.go
…
batch_image_download_test.go
…
batch_image_download.go
…
batch_image_mvp_smoke_test.go
…
batch_image_processor_test.go
…
batch_image_processor.go
…
batch_image_provider_gemini_test.go
…
batch_image_provider_gemini.go
…
batch_image_provider_vertex_test.go
…
batch_image_provider_vertex.go
…
batch_image_provider.go
…
batch_image_public_test.go
…
batch_image_public.go
…
batch_image_queue.go
…
batch_image_settlement_test.go
…
batch_image_settlement.go
…
batch_image_test.go
…
batch_image_worker_runtime_redis_test.go
…
batch_image_worker_runtime_test.go
…
batch_image_worker_runtime.go
…
batch_image_worker_test.go
…
batch_image_worker.go
…
batch_image.go
…
bedrock_request_test.go
…
bedrock_request.go
…
bedrock_signer_test.go
…
bedrock_signer.go
…
bedrock_stream_test.go
…
bedrock_stream.go
…
billing_cache_port.go
…
billing_cache_service_balance_test.go
…
billing_cache_service_rpm_test.go
…
billing_cache_service_singleflight_test.go
…
billing_cache_service_test.go
…
billing_cache_service_user_platform_quota_test.go
…
billing_cache_service.go
…
billing_context_schedule_test.go
…
billing_context_schedule.go
…
billing_search_audio_cost_test.go
…
billing_service_image_test.go
…
billing_service_rate_multiplier_test.go
…
billing_service_test.go
…
billing_service_unified_test.go
…
billing_service.go
…
billing_token_cost_request_test.go
…
billing_token_cost_request.go
…
channel_available_test.go
…
channel_available.go
…
channel_bedrock_cc_test.go
…
channel_monitor_aggregator.go
…
channel_monitor_challenge.go
…
channel_monitor_checker_body_test.go
…
channel_monitor_checker.go
…
channel_monitor_const.go
…
channel_monitor_duplicate_test.go
…
channel_monitor_probe_retirement_test.go
…
channel_monitor_quota_fetcher_test.go
…
channel_monitor_quota_fetcher.go
…
channel_monitor_quota_mode_test.go
…
channel_monitor_runner_test.go
…
channel_monitor_runner.go
…
channel_monitor_service_grok_test.go
…
channel_monitor_service.go
…
channel_monitor_ssrf.go
…
channel_monitor_template_service.go
…
channel_monitor_template_types.go
…
channel_monitor_types.go
…
channel_monitor_v2_aggregator_test.go
…
channel_monitor_v2_aggregator.go
…
channel_monitor_v2_error_taxonomy.go
…
channel_monitor_v2_test.go
…
channel_monitor_v2.go
…
channel_monitor_validate.go
…
channel_pricing_multipliers_test.go
…
channel_service_test.go
…
channel_service.go
…
channel_test.go
…
channel_websearch_test.go
…
channel.go
…
claude_code_detection_test.go
…
claude_code_validator_test.go
…
claude_code_validator.go
…
claude_opus5_test.go
…
claude_token_provider_test.go
…
claude_token_provider.go
…
cn_provider_balance_check_service_test.go
…
cn_provider_balance_check_service.go
…
cn_provider_balance_service_test.go
…
cn_provider_balance_service.go
…
cn_provider_foraccount_test.go
…
cn_provider_probe_url_test.go
…
cn_provider_probe_url.go
…
cn_provider_quota_service.go
…
cn_providers_test.go
…
codex_image_generation_bridge.go
…
composite_model_route.go
…
composite_platform_test.go
…
composite_platform.go
…
composite_route_resolver_test.go
…
composite_route_resolver.go
…
concurrency_service_test.go
…
concurrency_service.go
…
concurrency_slot_cleanup_test.go
…
content_moderation_cyber_test.go
…
content_moderation_email.go
…
content_moderation_input_test.go
…
content_moderation_input.go
…
content_moderation_keyword_matcher_test.go
…
content_moderation_keyword_matcher.go
…
content_moderation_proxy_test.go
…
content_moderation_redact.go
…
content_moderation_runtime_cache_test.go
…
content_moderation_test.go
…
content_moderation.go
…
credential_shadow_test.go
…
credential_shadow.go
…
credentials_sanitize_test.go
…
credentials_sanitize.go
…
crs_sync_helpers_test.go
…
crs_sync_long_context_billing_test.go
…
crs_sync_service.go
…
crs_sync_spark_shadow_test.go
…
custom_channel_time_pricing_test.go
…
custom_channel_time_pricing.go
…
custom_group_usage_rollup_test.go
…
custom_group_usage_rollup.go
…
dashboard_aggregation_service_test.go
…
dashboard_aggregation_service.go
…
dashboard_service_test.go
…
dashboard_service.go
…
data_management_grpc_test.go
…
data_management_grpc.go
…
data_management_service_test.go
…
data_management_service.go
…
deepseek_pricing_test.go
…
deferred_service.go
…
digest_session_store_test.go
…
digest_session_store.go
…
domain_constants_test.go
…
domain_constants.go
fix(openai): move TTFT metric mode to admin settings
2026-08-31 14:52:07 +08:00
email_html_escape_test.go
…
email_message_test.go
…
email_message.go
…
email_queue_service.go
…
email_service_smtp_test.go
…
email_service.go
…
error_passthrough_runtime_test.go
…
error_passthrough_runtime.go
…
error_passthrough_service_test.go
…
error_passthrough_service.go
…
error_policy_integration_test.go
…
error_policy_test.go
…
force_cache_billing_test.go
…
gateway_account_selection_test.go
…
gateway_anthropic_apikey_passthrough_benchmark_test.go
…
gateway_anthropic_apikey_passthrough_test.go
…
gateway_anthropic_passthrough.go
…
gateway_anthropic_vertex_beta_filter_test.go
…
gateway_anthropic_vertex_service_account_test.go
…
gateway_bedrock.go
…
gateway_beta_test.go
…
gateway_billing_block.go
…
gateway_billing_header_test.go
…
gateway_billing_header.go
…
gateway_body_order_test.go
…
gateway_cached_tokens_test.go
…
gateway_channel_restriction_fallback_test.go
…
gateway_channel_restriction_test.go
…
gateway_claude_oauth_body.go
…
gateway_context_management_test.go
…
gateway_count_tokens.go
…
gateway_dateline_normalization_test.go
…
gateway_debug_env_test.go
…
gateway_forward_as_chat_completions_test.go
…
gateway_forward_as_chat_completions.go
…
gateway_forward_as_responses_test.go
…
gateway_forward_as_responses.go
…
gateway_forward_partial_usage_test.go
…
gateway_forward.go
…
gateway_group_isolation_test.go
…
gateway_hotpath_optimization_test.go
…
gateway_messages_cache.go
…
gateway_model_availability_test.go
…
gateway_model_availability.go
…
gateway_multiplatform_test.go
…
gateway_non_streaming_response_test.go
…
gateway_oauth_metadata_test.go
…
gateway_pool_mode_retry_test.go
…
gateway_profit_control_v2_test.go
…
gateway_profit_control.go
…
gateway_prompt_test.go
…
gateway_record_usage_test.go
…
gateway_request_invalid_json_test.go
…
gateway_request_pricing_test.go
…
gateway_request_pricing.go
…
gateway_request_test.go
…
gateway_request.go
…
gateway_sanitize_test.go
…
gateway_scheduling.go
…
gateway_service_antigravity_whitelist_test.go
…
gateway_service_bedrock_beta_test.go
…
gateway_service_bedrock_model_support_test.go
…
gateway_service_benchmark_test.go
…
gateway_service_selection_failure_stats_test.go
…
gateway_service_streaming_test.go
…
gateway_service_subscription_billing_test.go
…
gateway_service.go
…
gateway_soonest_reset_test.go
…
gateway_streaming_test.go
…
gateway_tool_rewrite_test.go
…
gateway_tool_rewrite.go
…
gateway_upstream_request.go
…
gateway_upstream_response.go
…
gateway_upstream_transport_error_test.go
…
gateway_upstream_transport_error.go
…
gateway_usage_billing_fallback_test.go
…
gateway_usage_billing_request_id_test.go
…
gateway_usage_billing.go
…
gateway_waiting_queue_test.go
…
gateway_websearch_block_filter_test.go
…
gateway_websearch_block_filter.go
…
gateway_websearch_emulation_test.go
…
gateway_websearch_emulation.go
…
gemini_chat_completions_compat_service_test.go
…
gemini_chat_completions_compat_service.go
…
gemini_error_policy_skipped_write_test.go
…
gemini_error_policy_test.go
…
gemini_image_output_accounting_test.go
…
gemini_image_output_accounting.go
…
gemini_messages_compat_service_test.go
…
gemini_messages_compat_service.go
…
gemini_multiplatform_test.go
…
gemini_native_signature_cleaner_test.go
…
gemini_native_signature_cleaner.go
…
gemini_oauth_service_test.go
…
gemini_oauth_service.go
…
gemini_oauth.go
…
gemini_quota.go
…
gemini_session_integration_test.go
…
gemini_session_test.go
…
gemini_session.go
…
gemini_token_cache.go
…
gemini_token_provider.go
…
gemini_token_refresher.go
…
gemini_upstream_url_test.go
…
gemini_upstream_url.go
…
geminicli_codeassist.go
…
generate_session_hash_test.go
…
grok_audio_test.go
…
grok_audio.go
…
grok_base_url_mode_test.go
…
grok_credential_failure_test.go
…
grok_credential_failure.go
…
grok_free_quota_gate_test.go
…
grok_free_quota_gate.go
…
grok_media_content_test.go
…
grok_media_image_geometry_test.go
…
grok_media_image_geometry.go
…
grok_media_video_billing_test.go
…
grok_media.go
…
grok_model_quota_block.go
…
grok_oauth_reconciliation_test.go
…
grok_oauth_reconciliation.go
…
grok_oauth_service_test.go
…
grok_oauth_service.go
…
grok_observed_models.go
…
grok_p2_test.go
…
grok_quota_fetcher_test.go
…
grok_quota_fetcher.go
…
grok_quota_service_test.go
…
grok_quota_service.go
…
grok_search_count_test.go
…
grok_search_count.go
…
grok_spending_reauth.go
…
grok_stream_idle_test.go
…
grok_stream_idle.go
…
grok_team_rate_limit_test.go
…
grok_team_rate_limit.go
…
grok_token_provider_test.go
…
grok_token_provider.go
…
grok_token_refresher_test.go
…
grok_token_refresher.go
…
grok_upstream_errors_test.go
…
grok_upstream_errors.go
…
grok_upstream_failure_test.go
…
grok_upstream_failure.go
…
grok_upstream_headers_test.go
…
grok_upstream_headers.go
…
grok_upstream_url_test.go
…
grok_upstream_url.go
…
group_capacity_service_test.go
…
group_capacity_service.go
…
group_models_list.go
…
group_peak_rate_test.go
…
group_profit_platform_test.go
…
group_service.go
…
group_test.go
…
group.go
…
header_util.go
…
http_upstream_port.go
…
http_upstream_profile_test.go
…
http_upstream_profile.go
…
idempotency_cleanup_service_test.go
…
idempotency_cleanup_service.go
…
idempotency_observability.go
…
idempotency_test.go
…
idempotency.go
…
identity_service_order_test.go
…
identity_service_user_agent_validation_test.go
…
identity_service.go
…
image_billing_multiplier.go
…
image_billing_size_test.go
…
image_billing_size.go
…
image_generation_intent_benchmark_test.go
…
image_generation_intent_explicit_test.go
…
image_generation_intent_grok_test.go
…
image_generation_intent_test.go
…
image_generation_intent.go
…
image_output_accounting_test.go
…
image_output_accounting.go
…
image_storage_settings_test.go
…
image_storage_settings.go
…
image_storage_test.go
…
image_storage.go
…
image_task_test.go
…
image_task.go
…
internal500_counter.go
…
invalid_auth_abuse_limiter_test.go
…
invalid_auth_abuse_limiter.go
…
kimi_anthropic_usage_test.go
…
leader_lock_test.go
…
leader_lock.go
…
media_price_config.go
…
metadata_userid_test.go
…
metadata_userid.go
…
model_not_found_error_test.go
…
model_not_found_error.go
…
model_plaza_service_test.go
…
model_plaza_service.go
…
model_pricing_resolver_channel_normalized_test.go
…
model_pricing_resolver_test.go
…
model_pricing_resolver.go
…
model_rate_limit_test.go
…
model_rate_limit.go
…
models_list_response_limit_test.go
…
models_list_response_limit.go
…
notification_email_service_test.go
…
notification_email_service.go
…
notify_email_entry_test.go
…
notify_email_entry.go
…
oauth_refresh_api_test.go
…
oauth_refresh_api.go
…
oauth_service_test.go
…
oauth_service.go
…
ollama_cloud_usage_parser.go
…
ollama_cloud_usage_test.go
…
ollama_cloud_usage.go
…
openai_403_counter.go
…
openai_access_state_failover_test.go
…
openai_account_model_transient_test.go
…
openai_account_model_transient.go
…
openai_account_runtime_block_fastpath_test.go
…
openai_account_runtime_block_fastpath.go
…
openai_account_runtime_transient_test.go
…
openai_account_scheduler_benchmark_test.go
…
openai_account_scheduler_compact_test.go
…
openai_account_scheduler_reset_test.go
…
openai_account_scheduler_spark_route_test.go
…
openai_account_scheduler_test.go
…
openai_account_scheduler_upstream_cost_test.go
…
openai_account_scheduler_ws_snapshot_test.go
…
openai_account_scheduler.go
…
openai_agent_identity_compat_test.go
…
openai_agent_identity_test.go
…
openai_agent_identity.go
…
openai_alpha_search_billing_test.go
…
openai_alpha_search_test.go
…
openai_alpha_search.go
…
openai_apikey_health_breaker_test.go
…
openai_apikey_health_breaker.go
…
openai_apikey_responses_probe_test.go
…
openai_apikey_responses_probe_verdict_test.go
…
openai_apikey_responses_probe.go
…
openai_bulk_account_settings.go
…
openai_capacity_shed_test.go
…
openai_channel_restriction_test.go
…
openai_chatgpt_headers_test.go
…
openai_chatgpt_headers.go
…
openai_client_restriction_detector_hardening_test.go
…
openai_client_restriction_detector_test.go
…
openai_client_restriction_detector.go
…
openai_client_transport_test.go
…
openai_client_transport.go
…
openai_codex_account_identity_test.go
…
openai_codex_account_identity.go
…
openai_codex_fingerprint_test.go
…
openai_codex_fingerprint.go
…
openai_codex_function_call_id_test.go
…
openai_codex_identity_test.go
…
openai_codex_identity.go
…
openai_codex_instructions_template.go
…
openai_codex_message_item_id_test.go
…
openai_codex_model_metadata_test.go
…
openai_codex_model_metadata.go
…
openai_codex_models_service_test.go
…
openai_codex_models_service.go
…
openai_codex_pat_service_test.go
…
openai_codex_pat_service.go
…
openai_codex_tool_names_test.go
…
openai_codex_tool_names.go
…
openai_codex_transform_additions_test.go
…
openai_codex_transform_test.go
…
openai_codex_transform.go
…
openai_codex_turn_state_test.go
…
openai_codex_turn_state.go
…
openai_codex_version_consistency_test.go
…
openai_codex_version_sync_service_test.go
…
openai_codex_version_sync_service.go
…
openai_compact_body_signal_test.go
…
openai_compact_body_signal.go
…
openai_compact_fallback_test.go
…
openai_compact_fallback.go
…
openai_compact_model_mapping_test.go
…
openai_compact_probe_test.go
…
openai_compact_probe.go
…
openai_compact_service_tier_test.go
…
openai_compact_sse_keepalive_test.go
…
openai_compact_sse_keepalive.go
…
openai_compact_stream_bridge_test.go
…
openai_compact_stream_bridge.go
…
openai_compact_stream_failure_created_at_test.go
…
openai_compaction_context.go
…
openai_compat_model_test.go
…
openai_compat_model.go
…
openai_compat_prompt_cache_key_test.go
…
openai_compat_prompt_cache_key.go
…
openai_content_session_seed_benchmark_test.go
…
openai_content_session_seed_test.go
…
openai_content_session_seed.go
…
openai_cursor_warmup_pipeline_test.go
…
openai_cyber_policy_test.go
…
openai_cyber_policy.go
…
openai_cyber_session_block_test.go
…
openai_cyber_session_block.go
…
openai_cyber_transcript.go
…
openai_embeddings_test.go
…
openai_embeddings.go
…
openai_endpoint_url_test.go
…
openai_endpoint_url.go
…
openai_failover_cached_body_test.go
…
openai_fast_policy_test.go
…
openai_fast_policy_ws_test.go
…
openai_fast_service_tier_test.go
…
openai_first_output_timeout_test.go
test(openai): isolate visible TTFT fixture
2026-08-31 15:15:44 +08:00
openai_first_output_timeout.go
…
openai_gateway_403_reset_test.go
…
openai_gateway_anthropic_native_pump_test.go
…
openai_gateway_anthropic_native_pump.go
…
openai_gateway_apikey_item_id_test.go
…
openai_gateway_cc_pipeline.go
…
openai_gateway_cc_tool_call_identity_test.go
…
openai_gateway_cc_tool_call_identity.go
…
openai_gateway_chat_completions_anthropic_native.go
…
openai_gateway_chat_completions_raw_test.go
…
openai_gateway_chat_completions_raw.go
…
openai_gateway_chat_completions_test.go
…
openai_gateway_chat_completions.go
…
openai_gateway_cn_fixes_test.go
…
openai_gateway_compat_buffered_read_failover_test.go
…
openai_gateway_compat_cyber_test.go
…
openai_gateway_count_tokens_test.go
…
openai_gateway_count_tokens.go
…
openai_gateway_forward.go
…
openai_gateway_grok_405_test.go
…
openai_gateway_grok_cache_test.go
…
openai_gateway_grok_cache_tool_test.go
…
openai_gateway_grok_cache.go
…
openai_gateway_grok_chat_bridge_test.go
…
openai_gateway_grok_chat_bridge.go
…
openai_gateway_grok_chat_image_tools.go
…
openai_gateway_grok_compact.go
…
openai_gateway_grok_inline_image_tool_test.go
…
openai_gateway_grok_model_input_test.go
…
openai_gateway_grok_model_input.go
…
openai_gateway_grok_search_billing_test.go
…
openai_gateway_grok_sse_filter_test.go
…
openai_gateway_grok_sse_filter.go
…
openai_gateway_grok_test.go
Merge pull request
#6325
from 251392463/fix/grok-responses-vision-tool-output
2026-08-31 11:15:33 +08:00
openai_gateway_grok_tool_protocol_test.go
…
openai_gateway_grok_tool_protocol.go
…
openai_gateway_grok.go
…
openai_gateway_messages_anthropic_native_test.go
…
openai_gateway_messages_anthropic_native.go
…
openai_gateway_messages_chat_fallback_test.go
…
openai_gateway_messages_chat_fallback.go
…
openai_gateway_messages_failed_response_test.go
…
openai_gateway_messages_transport_failover_test.go
…
openai_gateway_messages_usage_test.go
…
openai_gateway_messages.go
…
openai_gateway_model_availability.go
…
openai_gateway_ollama_cloud_cc_reasoning_test.go
…
openai_gateway_ollama_cloud_cc_reasoning.go
…
openai_gateway_ollama_cloud_max_tokens_test.go
…
openai_gateway_ollama_cloud_max_tokens.go
…
openai_gateway_passthrough_flush_test.go
…
openai_gateway_passthrough_function_args_test.go
…
openai_gateway_passthrough_image_intent_benchmark_test.go
…
openai_gateway_passthrough_image_intent_test.go
…
openai_gateway_passthrough.go
fix(openai): move TTFT metric mode to admin settings
2026-08-31 14:52:07 +08:00
openai_gateway_record_usage_test.go
Merge pull request
#6378
from Ritel-T/fix/codex-oauth-service-tier-billing
2026-08-31 13:56:00 +08:00
openai_gateway_request_body_reasoning_test.go
…
openai_gateway_request_body.go
…
openai_gateway_response_failed_passthrough_test.go
…
openai_gateway_response_flush_test.go
…
openai_gateway_response_handling_image_usage_test.go
…
openai_gateway_response_handling_type_test.go
…
openai_gateway_response_handling.go
fix(openai): move TTFT metric mode to admin settings
2026-08-31 14:52:07 +08:00
openai_gateway_responses_anthropic_native.go
…
openai_gateway_responses_chat_fallback_test.go
…
openai_gateway_responses_chat_fallback.go
…
openai_gateway_responses_client_tools_test.go
…
openai_gateway_responses_empty_completed_test.go
…
openai_gateway_scheduling.go
…
openai_gateway_search_surcharge_test.go
…
openai_gateway_service_codex_cli_only_test.go
…
openai_gateway_service_codex_snapshot_test.go
…
openai_gateway_service_hotpath_test.go
…
openai_gateway_service_session_isolation_test.go
…
openai_gateway_service_shadow_token_test.go
…
openai_gateway_service_test.go
…
openai_gateway_service_tool_correction_test.go
…
openai_gateway_service.go
…
openai_gateway_upstream_errors.go
…
openai_gateway_usage_integrity_test.go
…
openai_gateway_usage_integrity.go
…
openai_gateway_usage.go
Merge pull request
#6378
from Ritel-T/fix/codex-oauth-service-tier-billing
2026-08-31 13:56:00 +08:00
openai_gpt56_max_test.go
…
openai_guardian_affinity_test.go
…
openai_guardian_affinity.go
…
openai_image_dimensions.go
…
openai_image_generation_controls_test.go
…
openai_image_intent_hint_test.go
…
openai_image_intent_hint.go
…
openai_images_actual_size_test.go
…
openai_images_incomplete_test.go
…
openai_images_json_keepalive_test.go
…
openai_images_json_keepalive.go
…
openai_images_oauth_unavailable_cooldown_test.go
…
openai_images_responses.go
Merge pull request
#6254
from wucm667/fix/issue-6249-configurable-image-cooldown
2026-08-31 11:13:52 +08:00
openai_images_test.go
…
openai_images_tool_cooldown_test.go
…
openai_images_upstream_context_test.go
…
openai_images.go
…
openai_json_decode.go
…
openai_json_optimization_benchmark_test.go
…
openai_live_attestation.go
…
openai_live_lifecycle_test.go
…
openai_live_test.go
…
openai_live_types.go
…
openai_live.go
…
openai_messages_bridge.go
…
openai_messages_continuation.go
…
openai_messages_digest_session.go
…
openai_messages_dispatch_test.go
…
openai_messages_dispatch.go
…
openai_messages_replay_guard_test.go
…
openai_messages_replay_guard.go
…
openai_messages_todo_guard.go
…
openai_model_alias_test.go
…
openai_model_alias.go
…
openai_model_mapping_test.go
…
openai_model_mapping.go
…
openai_nonstreaming_terminal_failure_failover_test.go
…
openai_oauth_model_support_test.go
…
openai_oauth_passthrough_test.go
…
openai_oauth_service_auth_url_test.go
…
openai_oauth_service_refresh_test.go
…
openai_oauth_service_state_test.go
…
openai_oauth_service.go
…
openai_passthrough_normalization_test.go
…
openai_passthrough_preoutput_keepalive_test.go
…
openai_plugin_transport.go
…
openai_previous_response_id_test.go
…
openai_previous_response_id.go
…
openai_privacy_retry_test.go
…
openai_privacy_service.go
…
openai_profit_control_legacy_diagnostics_test.go
…
openai_profit_control_paths_test.go
…
openai_profit_control_pricing_test.go
…
openai_profit_control_test.go
…
openai_profit_control.go
…
openai_proxy_stream_circuit_test.go
…
openai_proxy_stream_circuit.go
…
openai_quota_auto_reset_config.go
…
openai_quota_auto_reset_test.go
…
openai_quota_auto_reset.go
…
openai_quota_reset_credits_test.go
…
openai_quota_reset_credits.go
…
openai_quota_reset_workflow.go
…
openai_quota_service.go
…
openai_quota_spark_window_test.go
…
openai_raw_stream_truncation.go
…
openai_reasoning_effort_candidates_test.go
…
openai_reasoning_effort_policy_test.go
…
openai_reasoning_effort_policy.go
…
openai_request_body_limit_failover_test.go
…
openai_response_terminal_usage_compat_test.go
…
openai_responses_ingress_compat_test.go
…
openai_responses_ingress_compat.go
…
openai_responses_input_compat_test.go
…
openai_responses_input_compat.go
…
openai_responses_input_tokens_test.go
…
openai_responses_item_id_test.go
…
openai_responses_item_id.go
…
openai_responses_lite_tools_test.go
…
openai_responses_lite_tools.go
…
openai_responses_namespace_forward_test.go
…
openai_responses_namespace_test.go
…
openai_responses_namespace.go
…
openai_responses_rejected_field_retry_test.go
…
openai_responses_rejected_field_retry.go
…
openai_responses_stream_output_items_test.go
…
openai_responses_tool_schema_test.go
…
openai_responses_tool_schema.go
…
openai_routing_hint_test.go
…
openai_routing_hint.go
…
openai_setup_token_compat_test.go
…
openai_silent_refusal.go
…
openai_spark_shadow_parent_health_test.go
…
openai_sse_concatenated_json_test.go
…
openai_sse_data.go
…
openai_sse_json_documents.go
…
openai_sticky_compat_test.go
…
openai_sticky_compat.go
…
openai_stream_read_error.go
…
openai_subscription_test.go
…
openai_team_linked_error.go
…
openai_token_provider_test.go
…
openai_token_provider.go
…
openai_tool_continuation_test.go
…
openai_tool_continuation.go
…
openai_tool_corrector_test.go
…
openai_tool_corrector.go
…
openai_upstream_client_error_test.go
…
openai_upstream_client_error.go
…
openai_upstream_transport_error_handle_test.go
…
openai_upstream_transport_error_test.go
…
openai_upstream_transport_error.go
…
openai_visible_ttft_test.go
fix(openai): move TTFT metric mode to admin settings
2026-08-31 14:52:07 +08:00
openai_ws_account_sticky_test.go
…
openai_ws_client_read_test.go
…
openai_ws_client_read.go
…
openai_ws_client_test.go
…
openai_ws_client.go
…
openai_ws_fallback_test.go
…
openai_ws_forwarder_benchmark_test.go
…
openai_ws_forwarder_hotpath_optimization_test.go
…
openai_ws_forwarder_ingress_session_test.go
…
openai_ws_forwarder_ingress_test.go
…
openai_ws_forwarder_ingress.go
…
openai_ws_forwarder_logutil_test.go
…
openai_ws_forwarder_logutil.go
…
openai_ws_forwarder_payload.go
…
openai_ws_forwarder_retry_payload_test.go
…
openai_ws_forwarder_success_test.go
…
openai_ws_forwarder_support.go
…
openai_ws_forwarder_test.go
…
openai_ws_forwarder_v2_test.go
…
openai_ws_forwarder_v2.go
…
openai_ws_forwarder.go
…
openai_ws_http_bridge_resume_test.go
…
openai_ws_http_bridge_test.go
Merge pull request
#6378
from Ritel-T/fix/codex-oauth-service-tier-billing
2026-08-31 13:56:00 +08:00
openai_ws_http_bridge.go
…
openai_ws_ops_failure_test.go
…
openai_ws_passthrough_turn_pricing_test.go
…
openai_ws_pool_benchmark_test.go
…
openai_ws_pool_test.go
…
openai_ws_pool.go
…
openai_ws_protocol_forward_test.go
…
openai_ws_protocol_resolver_test.go
…
openai_ws_protocol_resolver.go
…
openai_ws_ratelimit_signal_test.go
…
openai_ws_session_preemption_test.go
…
openai_ws_session_preemption.go
…
openai_ws_state_store_test.go
…
openai_ws_state_store.go
…
openai_ws_v2_passthrough_adapter_effort_test.go
…
openai_ws_v2_passthrough_adapter.go
…
openai_ws_v2_passthrough_lifecycle_test.go
…
ops_account_availability.go
…
ops_advisory_lock.go
…
ops_aggregation_service.go
…
ops_alert_evaluator_service_test.go
…
ops_alert_evaluator_service.go
…
ops_alert_models.go
…
ops_alerts.go
…
ops_cleanup_executor.go
…
ops_cleanup_overlay_test.go
…
ops_cleanup_service_test.go
…
ops_cleanup_service.go
…
ops_concurrency.go
…
ops_dashboard_models.go
…
ops_dashboard.go
…
ops_errors.go
…
ops_health_score_test.go
…
ops_health_score.go
…
ops_histograms.go
…
ops_ingress_reject_test.go
…
ops_ingress_reject.go
…
ops_log_runtime_test.go
…
ops_log_runtime.go
…
ops_metrics_collector_memory_test.go
…
ops_metrics_collector_projection_test.go
…
ops_metrics_collector_test.go
…
ops_metrics_collector.go
…
ops_models.go
…
ops_openai_token_stats_models.go
…
ops_openai_token_stats_test.go
…
ops_openai_token_stats.go
…
ops_port.go
…
ops_query_mode_test.go
…
ops_query_mode.go
…
ops_queue_sanitize_test.go
…
ops_realtime_models.go
…
ops_realtime_traffic_models.go
…
ops_realtime_traffic.go
…
ops_realtime.go
…
ops_repo_mock_test.go
…
ops_request_details.go
…
ops_runtime_snapshot_test.go
…
ops_scheduled_report_service_test.go
…
ops_scheduled_report_service.go
…
ops_service_batch_test.go
…
ops_service_redaction_test.go
…
ops_service_user_error_test.go
…
ops_service.go
…
ops_settings_advanced_test.go
…
ops_settings_models.go
…
ops_settings.go
…
ops_system_log_service_test.go
…
ops_system_log_service.go
…
ops_system_log_sink_backoff_test.go
…
ops_system_log_sink_test.go
…
ops_system_log_sink.go
…
ops_trend_models.go
…
ops_trends.go
…
ops_upstream_context_test.go
…
ops_upstream_context.go
…
ops_user_error_cyber_test.go
…
ops_user_error_test.go
…
ops_user_error.go
…
ops_window_stats.go
…
overload_cooldown_test.go
…
parse_integral_number_unit.go
…
passkey_test.go
…
passkey.go
…
payment_amounts.go
…
payment_config_limits_test.go
…
payment_config_limits.go
…
payment_config_plans_validation_test.go
…
payment_config_plans.go
…
payment_config_providers_test.go
…
payment_config_providers.go
…
payment_config_service_test.go
…
payment_config_service.go
…
payment_currency.go
…
payment_fulfillment_order_not_found_test.go
…
payment_fulfillment_test.go
…
payment_fulfillment.go
…
payment_order_expiry_service.go
…
payment_order_jsapi_test.go
…
payment_order_lifecycle_test.go
…
payment_order_lifecycle.go
…
payment_order_provider_snapshot_test.go
…
payment_order_provider_snapshot.go
…
payment_order_result_test.go
…
payment_order.go
…
payment_refund_test.go
…
payment_refund.go
…
payment_resume_lookup_test.go
…
payment_resume_lookup.go
…
payment_resume_service_test.go
…
payment_resume_service.go
…
payment_service.go
…
payment_stats_test.go
…
payment_stats.go
…
payment_visible_method_instances.go
…
payment_webhook_provider_test.go
…
payment_webhook_provider.go
…
plugin_compatibility_test.go
…
plugin_compatibility.go
…
plugin_manager_routing_test.go
…
plugin_manager.go
…
plugin_manifest.go
…
plugin_package_test.go
…
plugin_package.go
…
plugin_runtime_integration_test.go
…
plugin_runtime.go
…
plugin_security_regression_test.go
…
post_billing_platform_test.go
…
pricing_service_test.go
…
pricing_service.go
…
profit_control_threshold_helpers_test.go
…
profit_preview_test.go
…
profit_preview.go
…
promo_code_repository.go
…
promo_code.go
…
promo_service.go
…
proxy_expiry_service.go
…
proxy_fallback_test.go
…
proxy_fallback.go
…
proxy_latency_cache.go
…
proxy_service.go
…
proxy_test.go
…
proxy_update_probe_invalidation_test.go
…
proxy.go
…
quota_fetcher.go
…
rate_limit_429_cooldown_test.go
…
ratelimit_cn_providers.go
…
ratelimit_service_401_db_fallback_test.go
…
ratelimit_service_401_test.go
…
ratelimit_service_403_html_test.go
…
ratelimit_service_403_test.go
…
ratelimit_service_anthropic_test.go
…
ratelimit_service_anthropic_window_limit_test.go
…
ratelimit_service_clear_test.go
…
ratelimit_service_model_not_found_test.go
…
ratelimit_service_openai_image_test.go
Merge pull request
#6254
from wucm667/fix/issue-6249-configurable-image-cooldown
2026-08-31 11:13:52 +08:00
ratelimit_service_openai_team_linked_test.go
…
ratelimit_service_openai_test.go
…
ratelimit_service_scheduling_threshold_test.go
…
ratelimit_service.go
…
ratelimit_session_window_test.go
…
redeem_code_test.go
…
redeem_code.go
…
redeem_service_batch_update_test.go
…
redeem_service_redeem_test.go
…
redeem_service.go
…
refresh_policy.go
…
refresh_token_cache.go
…
registration_email_alias_test.go
…
registration_email_alias.go
…
registration_email_policy_test.go
…
registration_email_policy.go
…
request_metadata_test.go
…
request_metadata.go
…
response_header_filter.go
…
response_model_billing_test.go
…
rpm_cache.go
…
scheduled_test_port.go
…
scheduled_test_runner_service.go
…
scheduled_test_service.go
…
scheduler_cache.go
…
scheduler_events.go
…
scheduler_layered_filter_test.go
…
scheduler_outbox.go
…
scheduler_shuffle_test.go
…
scheduler_snapshot_batch_query_test.go
…
scheduler_snapshot_bulk_event_test.go
…
scheduler_snapshot_cancellation_test.go
…
scheduler_snapshot_full_rebuild_lifecycle_test.go
…
scheduler_snapshot_full_rebuild_test.go
…
scheduler_snapshot_group_lifecycle_test.go
…
scheduler_snapshot_hydration_test.go
…
scheduler_snapshot_outbox_cleanup_test.go
…
scheduler_snapshot_retirement_test.go
…
scheduler_snapshot_service.go
…
service_tier_billing_test.go
…
service_tier_billing.go
…
session_binding.go
…
session_id_test.go
…
session_id.go
…
session_limit_cache.go
…
setting_features.go
…
setting_gateway_runtime.go
fix(openai): move TTFT metric mode to admin settings
2026-08-31 14:52:07 +08:00
setting_oauth.go
…
setting_openai_apikey_health.go
…
setting_panel_rate_limit_test.go
…
setting_panel_rate_limit.go
…
setting_parse.go
fix(openai): move TTFT metric mode to admin settings
2026-08-31 14:52:07 +08:00
setting_public.go
…
setting_service_auth_source_defaults_test.go
…
setting_service_backend_mode_test.go
…
setting_service_claude_oauth_system_prompt_test.go
…
setting_service_codex_policy_test.go
…
setting_service_codex_validate_test.go
…
setting_service_oidc_config_test.go
…
setting_service_platform_quota_test.go
…
setting_service_platform_threshold_test.go
…
setting_service_public_test.go
…
setting_service_update_test.go
…
setting_service_user_error_persist_test.go
…
setting_service_wechat_config_test.go
…
setting_service.go
…
setting_update.go
fix(openai): move TTFT metric mode to admin settings
2026-08-31 14:52:07 +08:00
setting_user_error_view_test.go
…
setting.go
…
settings_view.go
fix(openai): move TTFT metric mode to admin settings
2026-08-31 14:52:07 +08:00
shadow_routing_test.go
…
shadow_routing.go
…
slice_helpers.go
…
spark_shadow_integration_test.go
…
sql_errors.go
…
sse_scanner_buffer_pool_test.go
…
sse_scanner_buffer_pool.go
…
sticky_session_test.go
…
subscription_assign_idempotency_test.go
…
subscription_calculate_progress_test.go
…
subscription_daily_midnight_reset_test.go
…
subscription_expiry_service_test.go
…
subscription_expiry_service.go
…
subscription_maintenance_queue_test.go
…
subscription_maintenance_queue.go
…
subscription_monthly_window_test.go
…
subscription_renewal_lock_test.go
…
subscription_reset_quota_test.go
…
subscription_revoke_cache_test.go
…
subscription_service.go
…
system_operation_lock_service_test.go
…
system_operation_lock_service.go
…
temp_unsched_test.go
…
temp_unsched.go
…
tencent_captcha_service_test.go
…
tencent_captcha_service.go
…
tencent_captcha_settings_test.go
…
testhelpers_test.go
…
thinking_protocol_filter_integration_test.go
…
thinking_protocol_test.go
…
thinking_protocol.go
…
timing_wheel_service_test.go
…
timing_wheel_service.go
…
tls_fingerprint_profile_service.go
…
token_cache_invalidator_test.go
…
token_cache_invalidator.go
…
token_cache_key_test.go
…
token_cache_key.go
…
token_refresh_pool_health_test.go
…
token_refresh_service_candidates_test.go
…
token_refresh_service_test.go
…
token_refresh_service.go
…
token_refresher_test.go
…
token_refresher.go
…
totp_service.go
…
totp_verification_method_test.go
…
turnstile_service.go
…
update_service_test.go
…
update_service.go
…
upstream_billing_probe_multiplatform_test.go
…
upstream_billing_probe_test.go
…
upstream_billing_probe.go
…
upstream_models_test.go
…
upstream_models.go
…
upstream_path_guard_test.go
…
upstream_path_guard.go
…
upstream_response_limit_test.go
…
upstream_response_limit.go
…
upstream_response_model_bench_test.go
…
upstream_response_model_test.go
…
upstream_response_model.go
…
usage_billing_quantize_test.go
…
usage_billing.go
…
usage_cleanup_service_test.go
…
usage_cleanup_service.go
…
usage_cleanup.go
…
usage_log_create_result.go
…
usage_log_cyber_test.go
…
usage_log_helpers.go
…
usage_log_test.go
…
usage_log.go
…
usage_record_worker_pool_test.go
…
usage_record_worker_pool.go
…
usage_service.go
…
user_attribute_service.go
…
user_attribute.go
…
user_can_bind_group_test.go
…
user_group_rate_resolver_test.go
…
user_group_rate_resolver.go
…
user_group_rate.go
…
user_msg_queue_service_test.go
…
user_msg_queue_service.go
…
user_platform_quota_flusher_test.go
…
user_platform_quota_flusher.go
…
user_platform_quota_port.go
…
user_rpm_cache.go
…
user_service_email_identity_sync_test.go
…
user_service_test.go
…
user_service_update_fields_test.go
…
user_service.go
…
user_subscription_daily_quota_test.go
…
user_subscription_days_remaining_test.go
…
user_subscription_port.go
…
user_subscription_reset_time_test.go
…
user_subscription.go
…
user.go
…
vertex_service_account_test.go
…
vertex_service_account.go
…
video_billing_resolution.go
…
video_billing_test.go
…
video_billing.go
…
websearch_config_test.go
…
websearch_config.go
…
wire_test.go
…
wire.go
…