Files
OmniRoute/debug3.log
T

1773 lines
84 KiB
Plaintext

TAP version 13
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# [CREDENTIALS] No external credentials file found, using defaults.
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# [SECURITY] API_KEY_SECRET is not set. API key CRC validation is disabled.
# [DB] Added api_keys.allowed_connections column
# [DB] Added api_keys.auto_resolve column
# [DB] Added api_keys.is_active column
# [DB] Added api_keys.access_schedule column
# [DB] Added api_keys.max_requests_per_day column
# [DB] Added api_keys.max_requests_per_minute column
# [DB] Added api_keys.max_sessions column
# [23:40:30.381] INFO: [sse] 📥 POST /v1/chat/completions | openai/gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "HTTP"
# method: "POST"
# path: "/v1/chat/completions | openai/gpt-4o-mini | 1 msgs"
# [23:40:30.382] DEBUG: [sse] API Key: sk-m...01c2
# module: "sse"
# tag: "AUTH"
# [23:40:30.392] INFO: [sse] Provider: openai, Model: gpt-4o-mini
# module: "sse"
# tag: "ROUTING"
# 🛡️ [RATE-LIMIT] Loaded 0 explicit + 1 auto-enabled + 0 custom rpm/tpm protection(s)
# [23:40:30.396] DEBUG: [sse] openai | total connections: 1, excludeId: none
# module: "sse"
# tag: "AUTH"
# [23:40:30.396] DEBUG: [sse] openai | available: 1/1
# module: "sse"
# tag: "AUTH"
# [23:40:30.397] INFO: [sse] Using openai account: 4782b395...
# module: "sse"
# tag: "AUTH"
# [23:40:30.415] DEBUG: [sse] openai → openai | stream=false
# module: "sse"
# tag: "FORMAT"
# [23:40:30.425] DEBUG: [sse] OPENAI | gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "REQUEST"
# [20:40] 📊 [USAGE] OPENAI | in=4 | out=2 | account=4782b395...
# [23:40:30.493] DEBUG: [sse] Stored response for gpt-4o-mini (6 tokens)
# module: "sse"
# tag: "CACHE"
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# Subtest: chat pipeline handles OpenAI passthrough with valid API key auth
ok 1 - chat pipeline handles OpenAI passthrough with valid API key auth
---
duration_ms: 279.06402
type: 'test'
...
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# [23:40:30.652] INFO: [sse] 📥 POST /v1/chat/completions | claude/claude-3-5-sonnet-20241022 | 1 msgs
# module: "sse"
# tag: "HTTP"
# method: "POST"
# path: "/v1/chat/completions | claude/claude-3-5-sonnet-20241022 | 1 msgs"
# [23:40:30.652] DEBUG: [sse] No API key provided (local mode)
# module: "sse"
# tag: "AUTH"
# [20:40] 📊 [USAGE] CLAUDE | in=10 | out=4 | account=9ced487d...
# [23:40:30.656] INFO: [sse] Provider: claude, Model: claude-3-5-sonnet-20241022
# module: "sse"
# tag: "ROUTING"
# [23:40:30.658] DEBUG: [sse] claude | total connections: 1, excludeId: none
# module: "sse"
# tag: "AUTH"
# [23:40:30.658] DEBUG: [sse] claude | available: 1/1
# module: "sse"
# tag: "AUTH"
# [23:40:30.658] INFO: [sse] Using claude account: 9ced487d...
# module: "sse"
# tag: "AUTH"
# [23:40:30.660] DEBUG: [sse] openai → claude | stream=false
# module: "sse"
# tag: "FORMAT"
# [23:40:30.664] DEBUG: [sse] CLAUDE | claude-3-5-sonnet-20241022 | 1 msgs
# module: "sse"
# tag: "REQUEST"
# [23:40:30.671] DEBUG: [sse] Stored response for claude-3-5-sonnet-20241022 (14 tokens)
# module: "sse"
# tag: "CACHE"
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# Subtest: chat pipeline translates OpenAI requests to Claude and returns OpenAI-shaped responses
ok 2 - chat pipeline translates OpenAI requests to Claude and returns OpenAI-shaped responses
---
duration_ms: 203.116864
type: 'test'
...
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# [23:40:30.852] INFO: [sse] 📥 POST /v1/chat/completions | gemini/gemini-2.5-flash | 1 msgs
# module: "sse"
# tag: "HTTP"
# method: "POST"
# path: "/v1/chat/completions | gemini/gemini-2.5-flash | 1 msgs"
# [23:40:30.852] DEBUG: [sse] No API key provided (local mode)
# module: "sse"
# tag: "AUTH"
# [20:40] 📊 [USAGE] GEMINI | in=5 | out=7 | account=3c7613b4...
# [23:40:30.855] INFO: [sse] Provider: gemini, Model: gemini-2.5-flash
# module: "sse"
# tag: "ROUTING"
# [23:40:30.856] DEBUG: [sse] gemini | total connections: 1, excludeId: none
# module: "sse"
# tag: "AUTH"
# [23:40:30.856] DEBUG: [sse] gemini | available: 1/1
# module: "sse"
# tag: "AUTH"
# [23:40:30.856] INFO: [sse] Using gemini account: 3c7613b4...
# module: "sse"
# tag: "AUTH"
# [23:40:30.858] DEBUG: [sse] openai → gemini | stream=false
# module: "sse"
# tag: "FORMAT"
# [23:40:30.860] DEBUG: [sse] GEMINI | gemini-2.5-flash | 1 msgs
# module: "sse"
# tag: "REQUEST"
# [23:40:30.864] DEBUG: [sse] Stored response for gemini-2.5-flash (12 tokens)
# module: "sse"
# tag: "CACHE"
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# Subtest: chat pipeline translates OpenAI requests to Gemini and returns OpenAI-shaped responses
ok 3 - chat pipeline translates OpenAI requests to Gemini and returns OpenAI-shaped responses
---
duration_ms: 157.635756
type: 'test'
...
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# [23:40:31.026] INFO: [sse] 📥 POST /v1/messages | openai/gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "HTTP"
# method: "POST"
# path: "/v1/messages | openai/gpt-4o-mini | 1 msgs"
# [23:40:31.026] DEBUG: [sse] No API key provided (local mode)
# module: "sse"
# tag: "AUTH"
# [20:40] 📊 [USAGE] OPENAI | in=4 | out=2 | account=9e6e0e97...
# [23:40:31.029] INFO: [sse] Provider: openai, Model: gpt-4o-mini
# module: "sse"
# tag: "ROUTING"
# [23:40:31.030] DEBUG: [sse] openai | total connections: 1, excludeId: none
# module: "sse"
# tag: "AUTH"
# [23:40:31.030] DEBUG: [sse] openai | available: 1/1
# module: "sse"
# tag: "AUTH"
# [23:40:31.031] INFO: [sse] Using openai account: 9e6e0e97...
# module: "sse"
# tag: "AUTH"
# [23:40:31.032] DEBUG: [sse] claude → openai | stream=false
# module: "sse"
# tag: "FORMAT"
# [23:40:31.035] DEBUG: [sse] OPENAI | gpt-4o-mini | 2 msgs
# module: "sse"
# tag: "REQUEST"
# [23:40:31.041] DEBUG: [sse] Stored response for gpt-4o-mini (6 tokens)
# module: "sse"
# tag: "CACHE"
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# Subtest: chat pipeline translates Claude-format requests into OpenAI upstream and back to Claude
ok 4 - chat pipeline translates Claude-format requests into OpenAI upstream and back to Claude
---
duration_ms: 179.12553
type: 'test'
...
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# [23:40:31.207] INFO: [sse] 📥 POST /v1/chat/completions | claude/claude-sonnet-4-6 | 1 msgs
# module: "sse"
# tag: "HTTP"
# method: "POST"
# path: "/v1/chat/completions | claude/claude-sonnet-4-6 | 1 msgs"
# [23:40:31.207] DEBUG: [sse] No API key provided (local mode)
# module: "sse"
# tag: "AUTH"
# [20:40:31] 📊 [USAGE] CLAUDE | in=0 | out=3 | account=5d0e9af4...
# [20:40:31] 🌊 [STREAM] CLAUDE | claude-sonnet-4-6 | 26ms | complete
# [23:40:31.209] INFO: [sse] Provider: claude, Model: claude-sonnet-4-6
# module: "sse"
# tag: "ROUTING"
# [23:40:31.211] DEBUG: [sse] claude | total connections: 1, excludeId: none
# module: "sse"
# tag: "AUTH"
# [23:40:31.211] DEBUG: [sse] claude | available: 1/1
# module: "sse"
# tag: "AUTH"
# [23:40:31.211] INFO: [sse] Using claude account: 5d0e9af4...
# module: "sse"
# tag: "AUTH"
# [23:40:31.212] DEBUG: [sse] openai → claude | stream=true
# module: "sse"
# tag: "FORMAT"
# [23:40:31.213] DEBUG: [sse] CLAUDE | claude-sonnet-4-6 | 1 msgs
# module: "sse"
# tag: "REQUEST"
# [23:40:31.214] DEBUG: [sse] Translation mode: claude → openai
# module: "sse"
# tag: "STREAM"
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# Subtest: chat pipeline converts Claude SSE streams into OpenAI SSE output
ok 5 - chat pipeline converts Claude SSE streams into OpenAI SSE output
---
duration_ms: 263.312873
type: 'test'
...
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# [DB] Added api_keys.allowed_connections column
# [DB] Added api_keys.auto_resolve column
# [DB] Added api_keys.is_active column
# [DB] Added api_keys.access_schedule column
# [DB] Added api_keys.max_requests_per_day column
# [DB] Added api_keys.max_requests_per_minute column
# [DB] Added api_keys.max_sessions column
# [23:40:31.448] INFO: [sse] 📥 POST /v1/chat/completions | openai/gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "HTTP"
# method: "POST"
# path: "/v1/chat/completions | openai/gpt-4o-mini | 1 msgs"
# [23:40:31.448] DEBUG: [sse] API Key: does...xist
# module: "sse"
# tag: "AUTH"
# [23:40:31.456] WARN: [sse] API key not found or invalid (must be created in API Manager)
# module: "sse"
# tag: "AUTH"
# [23:40:31.458] WARN: [sse] Invalid JSON body
# module: "sse"
# tag: "CHAT"
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# Subtest: chat pipeline rejects invalid API keys and malformed JSON bodies
ok 6 - chat pipeline rejects invalid API keys and malformed JSON bodies
---
duration_ms: 144.197861
type: 'test'
...
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# [23:40:31.570] INFO: [sse] 📥 POST /v1/chat/completions | openai/gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "HTTP"
# method: "POST"
# path: "/v1/chat/completions | openai/gpt-4o-mini | 1 msgs"
# [23:40:31.570] DEBUG: [sse] No API key provided (local mode)
# module: "sse"
# tag: "AUTH"
# [23:40:31.570] WARN: [sse] Missing API key while REQUIRE_API_KEY=true
# module: "sse"
# tag: "AUTH"
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# Subtest: chat pipeline rejects requests without a bearer key when strict API key mode is enabled
ok 7 - chat pipeline rejects requests without a bearer key when strict API key mode is enabled
---
duration_ms: 159.810061
type: 'test'
...
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# [23:40:31.727] INFO: [sse] 📥 POST /v1/chat/completions | undefined | 1 msgs
# module: "sse"
# tag: "HTTP"
# method: "POST"
# path: "/v1/chat/completions | undefined | 1 msgs"
# [23:40:31.727] DEBUG: [sse] No API key provided (local mode)
# module: "sse"
# tag: "AUTH"
# [23:40:31.727] WARN: [sse] Missing model
# module: "sse"
# tag: "CHAT"
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# Subtest: chat pipeline returns 400 when the model field is omitted
ok 8 - chat pipeline returns 400 when the model field is omitted
---
duration_ms: 152.12799
type: 'test'
...
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# [23:40:31.907] DEBUG: [sse] Accept: text/event-stream header → overriding stream=true (body had no stream field)
# module: "sse"
# tag: "STREAM"
# [23:40:31.907] INFO: [sse] 📥 POST /v1/chat/completions | openai/gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "HTTP"
# method: "POST"
# path: "/v1/chat/completions | openai/gpt-4o-mini | 1 msgs"
# [23:40:31.907] DEBUG: [sse] No API key provided (local mode)
# module: "sse"
# tag: "AUTH"
# [20:40:31] 📊 [USAGE] OPENAI | in=2062 | out=6 | account=93009bc3... (estimated)
# [20:40:31] 🌊 [STREAM] OPENAI | gpt-4o-mini | 10ms | complete
# [23:40:31.910] INFO: [sse] Provider: openai, Model: gpt-4o-mini
# module: "sse"
# tag: "ROUTING"
# [23:40:31.911] DEBUG: [sse] openai | total connections: 1, excludeId: none
# module: "sse"
# tag: "AUTH"
# [23:40:31.911] DEBUG: [sse] openai | available: 1/1
# module: "sse"
# tag: "AUTH"
# [23:40:31.911] INFO: [sse] Using openai account: 93009bc3...
# module: "sse"
# tag: "AUTH"
# [23:40:31.913] DEBUG: [sse] openai → openai | stream=true
# module: "sse"
# tag: "FORMAT"
# [23:40:31.913] DEBUG: [sse] OPENAI | gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "REQUEST"
# [23:40:31.915] DEBUG: [sse] Standard passthrough mode
# module: "sse"
# tag: "STREAM"
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# Subtest: chat pipeline treats Accept text/event-stream as streaming mode and returns a session header
ok 9 - chat pipeline treats Accept text/event-stream as streaming mode and returns a session header
---
duration_ms: 153.539772
type: 'test'
...
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# [20:40] 📊 [USAGE] OPENAI | in=4 | out=2 | account=9fef864f...
# [23:40:32.063] INFO: [sse] 📥 POST /v1/chat/completions | local-router | 1 msgs
# module: "sse"
# tag: "HTTP"
# method: "POST"
# path: "/v1/chat/completions | local-router | 1 msgs"
# [23:40:32.063] DEBUG: [sse] No API key provided (local mode)
# module: "sse"
# tag: "AUTH"
# [23:40:32.064] INFO: [sse] Combo "local-router" [priority] with 1 models
# module: "sse"
# tag: "CHAT"
# [23:40:32.068] INFO: [sse] priority with nested resolution: 1 total models
# module: "sse"
# tag: "COMBO"
# [23:40:32.070] DEBUG: [sse] openai | total connections: 1, excludeId: none
# module: "sse"
# tag: "AUTH"
# [23:40:32.070] DEBUG: [sse] openai | available: 1/1
# module: "sse"
# tag: "AUTH"
# [23:40:32.071] INFO: [sse] Trying model 1/1: openai/gpt-4o-mini
# module: "sse"
# tag: "COMBO"
# [23:40:32.071] INFO: [sse] Provider: openai, Model: gpt-4o-mini
# module: "sse"
# tag: "ROUTING"
# [23:40:32.073] DEBUG: [sse] openai | total connections: 1, excludeId: none
# module: "sse"
# tag: "AUTH"
# [23:40:32.073] DEBUG: [sse] openai | available: 1/1
# module: "sse"
# tag: "AUTH"
# [23:40:32.074] INFO: [sse] Using openai account: 9fef864f...
# module: "sse"
# tag: "AUTH"
# [23:40:32.076] DEBUG: [sse] openai → openai | stream=false
# module: "sse"
# tag: "FORMAT"
# [23:40:32.077] DEBUG: [sse] OPENAI | gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "REQUEST"
# [23:40:32.083] DEBUG: [sse] Stored response for gpt-4o-mini (6 tokens)
# module: "sse"
# tag: "CACHE"
# [23:40:32.088] INFO: [sse] Model openai/gpt-4o-mini succeeded (20ms, 0 fallbacks)
# module: "sse"
# tag: "COMBO"
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# Subtest: chat pipeline supports local mode without Authorization on explicit combos
ok 10 - chat pipeline supports local mode without Authorization on explicit combos
---
duration_ms: 170.688713
type: 'test'
...
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# [DB] Added api_keys.allowed_connections column
# [DB] Added api_keys.auto_resolve column
# [DB] Added api_keys.is_active column
# [DB] Added api_keys.access_schedule column
# [DB] Added api_keys.max_requests_per_day column
# [DB] Added api_keys.max_requests_per_minute column
# [DB] Added api_keys.max_sessions column
# [23:40:32.256] INFO: [sse] 📥 POST /v1/chat/completions | openai/gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "HTTP"
# method: "POST"
# path: "/v1/chat/completions | openai/gpt-4o-mini | 1 msgs"
# [23:40:32.256] DEBUG: [sse] API Key: sk-m...2216
# module: "sse"
# tag: "AUTH"
# [20:40] 📊 [USAGE] OPENAI | in=4 | out=2 | account=50eccfa9...
# [23:40:32.259] INFO: [sse] Provider: openai, Model: gpt-4o-mini
# module: "sse"
# tag: "ROUTING"
# [23:40:32.261] DEBUG: [sse] openai | total connections: 1, excludeId: none
# module: "sse"
# tag: "AUTH"
# [23:40:32.261] DEBUG: [sse] openai | available: 1/1
# module: "sse"
# tag: "AUTH"
# [23:40:32.261] INFO: [sse] Using openai account: 50eccfa9...
# module: "sse"
# tag: "AUTH"
# [23:40:32.263] DEBUG: [sse] openai → openai | stream=false
# module: "sse"
# tag: "FORMAT"
# [23:40:32.264] DEBUG: [sse] OPENAI | gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "REQUEST"
# [23:40:32.273] DEBUG: [sse] Stored response for gpt-4o-mini (6 tokens)
# module: "sse"
# tag: "CACHE"
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# Subtest: chat pipeline honors noLog by redacting persisted call log payloads
ok 11 - chat pipeline honors noLog by redacting persisted call log payloads
---
duration_ms: 211.592743
type: 'test'
...
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# [23:40:32.408] INFO: [sse] 📥 POST /v1/chat/completions | openai/gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "HTTP"
# method: "POST"
# path: "/v1/chat/completions | openai/gpt-4o-mini | 1 msgs"
# [23:40:32.408] DEBUG: [sse] No API key provided (local mode)
# module: "sse"
# tag: "AUTH"
# [23:40:32.443] INFO: [sse] Provider: openai, Model: gpt-4o-mini
# module: "sse"
# tag: "ROUTING"
# [23:40:32.443] DEBUG: [sse] openai | total connections: 0, excludeId: none
# module: "sse"
# tag: "AUTH"
# [23:40:32.444] DEBUG: [sse] openai | all connections (incl inactive): 0
# module: "sse"
# tag: "AUTH"
# [23:40:32.444] WARN: [sse] No credentials for openai
# module: "sse"
# tag: "AUTH"
# [23:40:32.444] ERROR: [sse] No credentials for provider: openai
# module: "sse"
# tag: "AUTH"
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# Subtest: chat pipeline returns current no-credentials contract when no provider connection exists
ok 12 - chat pipeline returns current no-credentials contract when no provider connection exists
---
duration_ms: 140.10352
type: 'test'
...
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# [23:40:32.576] INFO: [sse] 📥 POST /v1/chat/completions | openai/gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "HTTP"
# method: "POST"
# path: "/v1/chat/completions | openai/gpt-4o-mini | 1 msgs"
# [23:40:32.576] DEBUG: [sse] No API key provided (local mode)
# module: "sse"
# tag: "AUTH"
# [23:40:32.579] INFO: [sse] Provider: openai, Model: gpt-4o-mini
# module: "sse"
# tag: "ROUTING"
# [23:40:32.579] WARN: [sse] openai/gpt-4o-mini is in cooldown, rejecting request
# module: "sse"
# tag: "AVAILABILITY"
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# Subtest: chat pipeline returns 503 when the requested model is temporarily unavailable
ok 13 - chat pipeline returns 503 when the requested model is temporarily unavailable
---
duration_ms: 132.250444
type: 'test'
...
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# [23:40:32.711] INFO: [sse] 📥 POST /v1/chat/completions | openai/gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "HTTP"
# method: "POST"
# path: "/v1/chat/completions | openai/gpt-4o-mini | 1 msgs"
# [23:40:32.711] DEBUG: [sse] No API key provided (local mode)
# module: "sse"
# tag: "AUTH"
# [ERROR] [500]: provider exploded
# ❌ openai [500]: [500]: provider exploded
# [23:40:32.726] INFO: [sse] Provider: openai, Model: gpt-4o-mini
# module: "sse"
# tag: "ROUTING"
# [23:40:32.727] DEBUG: [sse] openai | total connections: 1, excludeId: none
# module: "sse"
# tag: "AUTH"
# [23:40:32.727] DEBUG: [sse] openai | available: 1/1
# module: "sse"
# tag: "AUTH"
# [23:40:32.728] INFO: [sse] Using openai account: 4ab558c6...
# module: "sse"
# tag: "AUTH"
# [23:40:32.732] DEBUG: [sse] openai → openai | stream=false
# module: "sse"
# tag: "FORMAT"
# [23:40:32.735] DEBUG: [sse] OPENAI | gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "REQUEST"
# [23:40:32.772] WARN: [sse] Account 4ab558c6... unavailable (500), trying fallback
# module: "sse"
# tag: "AUTH"
# [23:40:32.773] DEBUG: [sse] openai | total connections: 1, excludeId: 4ab558c6-3588-4e36-b434-a324e8cf1bc3
# module: "sse"
# tag: "AUTH"
# [23:40:32.773] DEBUG: [sse] openai | available: 0/1
# module: "sse"
# tag: "AUTH"
# [23:40:32.773] DEBUG: [sse] → 4ab558c6 | excluded rateLimited until 2026-04-06T23:40:35.770Z
# module: "sse"
# tag: "AUTH"
# [23:40:32.774] WARN: [sse] openai | all 1 active accounts rate limited (reset after 3s) | lastErrorCode=500.0, lastError=[500]: provider exploded
# module: "sse"
# tag: "AUTH"
# [23:40:32.774] WARN: [sse] [openai/gpt-4o-mini] [500]: provider exploded (reset after 3s)
# module: "sse"
# tag: "CHAT"
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# Subtest: chat pipeline surfaces upstream 500 responses as structured errors
ok 14 - chat pipeline surfaces upstream 500 responses as structured errors
---
duration_ms: 219.873381
type: 'test'
...
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# [23:40:32.973] INFO: [sse] 📥 POST /v1/chat/completions | openai/gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "HTTP"
# method: "POST"
# path: "/v1/chat/completions | openai/gpt-4o-mini | 1 msgs"
# [23:40:32.973] DEBUG: [sse] No API key provided (local mode)
# module: "sse"
# tag: "AUTH"
# [23:40:32.977] INFO: [sse] Provider: openai, Model: gpt-4o-mini
# module: "sse"
# tag: "ROUTING"
# [23:40:32.979] DEBUG: [sse] openai | total connections: 1, excludeId: none
# module: "sse"
# tag: "AUTH"
# [23:40:32.979] DEBUG: [sse] openai | available: 1/1
# module: "sse"
# tag: "AUTH"
# [23:40:32.980] INFO: [sse] Using openai account: 71ff871a...
# module: "sse"
# tag: "AUTH"
# [23:40:32.983] DEBUG: [sse] openai → openai | stream=false
# module: "sse"
# tag: "FORMAT"
# [23:40:32.984] DEBUG: [sse] OPENAI | gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "REQUEST"
# [23:40:32.986] DEBUG: [sse] 429 intra-retry 1/2 on https://api.openai.com/v1/chat/completions — waiting 0ms
# module: "sse"
# tag: "RETRY"
# [23:40:32.989] DEBUG: [sse] 429 intra-retry 2/2 on https://api.openai.com/v1/chat/completions — waiting 0ms
# module: "sse"
# tag: "RETRY"
# [provider] Node 71ff871a-0cc7-4cf5-aecd-ee0f6bdd87f2 rate limited (429) - Next available at 2026-04-06T23:41:02.996Z
# [ERROR] [429]: Rate limit exceeded. Your quota will reset after 30s.
# [23:40:33.006] INFO: [sse] 71ff871a terminal status=credits_exhausted, skipping cooldown overwrite
# module: "sse"
# tag: "AUTH"
# [23:40:33.006] WARN: [sse] Account 71ff871a... unavailable (429), trying fallback
# module: "sse"
# tag: "AUTH"
# [23:40:33.007] DEBUG: [sse] openai | total connections: 1, excludeId: 71ff871a-0cc7-4cf5-aecd-ee0f6bdd87f2
# module: "sse"
# tag: "AUTH"
# [23:40:33.007] DEBUG: [sse] openai | available: 0/1
# module: "sse"
# tag: "AUTH"
# [23:40:33.007] DEBUG: [sse] → 71ff871a | excluded rateLimited until 2026-04-06T23:41:02.996Z
# module: "sse"
# tag: "AUTH"
# [23:40:33.007] WARN: [sse] openai | all 1 active accounts rate limited (reset after 30s) | lastErrorCode=429.0, lastError=Rate limit exceeded. Your quota will reset after 3
# module: "sse"
# tag: "AUTH"
# [23:40:33.007] INFO: [sse] openai/gpt-4o-mini marked unavailable — all accounts exhausted (HTTP 429)
# module: "sse"
# tag: "AVAILABILITY"
# [23:40:33.007] WARN: [sse] [openai/gpt-4o-mini] [429]: Rate limit exceeded. Your quota will reset after 30s. (reset after 30s)
# module: "sse"
# tag: "CHAT"
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# Subtest: chat pipeline returns 429 with Retry-After when the upstream rate-limits the only account
ok 15 - chat pipeline returns 429 with Retry-After when the upstream rate-limits the only account
---
duration_ms: 219.862586
type: 'test'
...
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# [23:40:33.195] INFO: [sse] 📥 POST /v1/chat/completions | openai/gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "HTTP"
# method: "POST"
# path: "/v1/chat/completions | openai/gpt-4o-mini | 1 msgs"
# [23:40:33.195] DEBUG: [sse] No API key provided (local mode)
# module: "sse"
# tag: "AUTH"
# [ERROR] [504]: upstream timed out
# ❌ openai [504]: [504]: upstream timed out
# [23:40:33.197] INFO: [sse] Provider: openai, Model: gpt-4o-mini
# module: "sse"
# tag: "ROUTING"
# [23:40:33.199] DEBUG: [sse] openai | total connections: 1, excludeId: none
# module: "sse"
# tag: "AUTH"
# [23:40:33.199] DEBUG: [sse] openai | available: 1/1
# module: "sse"
# tag: "AUTH"
# [23:40:33.199] INFO: [sse] Using openai account: b0f13742...
# module: "sse"
# tag: "AUTH"
# [23:40:33.201] DEBUG: [sse] openai → openai | stream=false
# module: "sse"
# tag: "FORMAT"
# [23:40:33.202] DEBUG: [sse] OPENAI | gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "REQUEST"
# [23:40:33.203] WARN: [sse] Fetch timeout after 600000ms on https://api.openai.com/v1/chat/completions
# module: "sse"
# tag: "TIMEOUT"
# [23:40:33.207] WARN: [sse] Account b0f13742... unavailable (504), trying fallback
# module: "sse"
# tag: "AUTH"
# [23:40:33.208] DEBUG: [sse] openai | total connections: 1, excludeId: b0f13742-172d-4e2f-b1bd-51ff12ca0898
# module: "sse"
# tag: "AUTH"
# [23:40:33.208] DEBUG: [sse] openai | available: 0/1
# module: "sse"
# tag: "AUTH"
# [23:40:33.209] DEBUG: [sse] → b0f13742 | excluded rateLimited until 2026-04-06T23:40:36.206Z
# module: "sse"
# tag: "AUTH"
# [23:40:33.209] WARN: [sse] openai | all 1 active accounts rate limited (reset after 3s) | lastErrorCode=504.0, lastError=[504]: upstream timed out
# module: "sse"
# tag: "AUTH"
# [23:40:33.209] WARN: [sse] [openai/gpt-4o-mini] [504]: upstream timed out (reset after 3s)
# module: "sse"
# tag: "CHAT"
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# Subtest: chat pipeline maps upstream timeouts to 504 responses
ok 16 - chat pipeline maps upstream timeouts to 504 responses
---
duration_ms: 202.717074
type: 'test'
...
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# [DB] Added api_keys.allowed_connections column
# [DB] Added api_keys.auto_resolve column
# [DB] Added api_keys.is_active column
# [DB] Added api_keys.access_schedule column
# [DB] Added api_keys.max_requests_per_day column
# [DB] Added api_keys.max_requests_per_minute column
# [DB] Added api_keys.max_sessions column
# [23:40:33.412] INFO: [sse] 📥 POST /v1/chat/completions | openai/gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "HTTP"
# method: "POST"
# path: "/v1/chat/completions | openai/gpt-4o-mini | 1 msgs"
# [23:40:33.412] DEBUG: [sse] API Key: sk-m...779b
# module: "sse"
# tag: "AUTH"
# [20:40] 📊 [USAGE] OPENAI | in=4 | out=2 | account=c2029285...
# [23:40:33.417] INFO: [sse] Provider: openai, Model: gpt-4o-mini
# module: "sse"
# tag: "ROUTING"
# [23:40:33.418] DEBUG: [sse] openai | total connections: 1, excludeId: none
# module: "sse"
# tag: "AUTH"
# [23:40:33.418] DEBUG: [sse] openai | available: 1/1
# module: "sse"
# tag: "AUTH"
# [23:40:33.421] INFO: [sse] Using openai account: c2029285...
# module: "sse"
# tag: "AUTH"
# [23:40:33.423] DEBUG: [sse] openai → openai | stream=false
# module: "sse"
# tag: "FORMAT"
# [23:40:33.425] DEBUG: [sse] Injected 1 memories for key=75502502-4c99-4f6e-9719-5581b00e0185
# module: "sse"
# tag: "MEMORY"
# [23:40:33.426] DEBUG: [sse] OPENAI | gpt-4o-mini | 2 msgs
# module: "sse"
# tag: "REQUEST"
# [23:40:33.439] DEBUG: [sse] Stored response for gpt-4o-mini (6 tokens)
# module: "sse"
# tag: "CACHE"
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# Subtest: chat pipeline injects memory context before sending the upstream request
ok 17 - chat pipeline injects memory context before sending the upstream request
---
duration_ms: 229.129863
type: 'test'
...
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# [DB] Added api_keys.allowed_connections column
# [DB] Added api_keys.auto_resolve column
# [DB] Added api_keys.is_active column
# [DB] Added api_keys.access_schedule column
# [DB] Added api_keys.max_requests_per_day column
# [DB] Added api_keys.max_requests_per_minute column
# [DB] Added api_keys.max_sessions column
# [23:40:33.643] INFO: [sse] 📥 POST /v1/chat/completions | openai/gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "HTTP"
# method: "POST"
# path: "/v1/chat/completions | openai/gpt-4o-mini | 1 msgs"
# [23:40:33.646] DEBUG: [sse] API Key: sk-m...e420
# module: "sse"
# tag: "AUTH"
# [20:40] 📊 [USAGE] OPENAI | in=6 | out=4 | account=eb34b60b...
# [23:40:33.650] INFO: [sse] Provider: openai, Model: gpt-4o-mini
# module: "sse"
# tag: "ROUTING"
# [23:40:33.651] DEBUG: [sse] openai | total connections: 1, excludeId: none
# module: "sse"
# tag: "AUTH"
# [23:40:33.651] DEBUG: [sse] openai | available: 1/1
# module: "sse"
# tag: "AUTH"
# [23:40:33.652] INFO: [sse] Using openai account: eb34b60b...
# module: "sse"
# tag: "AUTH"
# [23:40:33.654] DEBUG: [sse] openai → openai | stream=false
# module: "sse"
# tag: "FORMAT"
# [23:40:33.656] DEBUG: [sse] Injected 1 skills
# module: "sse"
# tag: "SKILLS"
# [23:40:33.658] DEBUG: [sse] OPENAI | gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "REQUEST"
# [23:40:33.672] DEBUG: [sse] Stored response for gpt-4o-mini (10 tokens)
# module: "sse"
# tag: "CACHE"
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# Subtest: chat pipeline injects skills into tools and intercepts tool calls with skill output
ok 18 - chat pipeline injects skills into tools and intercepts tool calls with skill output
---
duration_ms: 230.685673
type: 'test'
...
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# [23:40:33.815] INFO: [sse] 📥 POST /v1/chat/completions | openai/gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "HTTP"
# method: "POST"
# path: "/v1/chat/completions | openai/gpt-4o-mini | 1 msgs"
# [23:40:33.815] DEBUG: [sse] No API key provided (local mode)
# module: "sse"
# tag: "AUTH"
# [ERROR] [500]: first account failed
# ❌ openai [500]: [500]: first account failed
# [20:40] 📊 [USAGE] OPENAI | in=4 | out=2 | account=8ae4bbf9...
# [23:40:33.817] INFO: [sse] Provider: openai, Model: gpt-4o-mini
# module: "sse"
# tag: "ROUTING"
# [23:40:33.818] DEBUG: [sse] openai | total connections: 2, excludeId: none
# module: "sse"
# tag: "AUTH"
# [23:40:33.818] DEBUG: [sse] openai | available: 2/2
# module: "sse"
# tag: "AUTH"
# [23:40:33.818] INFO: [sse] Using openai account: 5cfce4ff...
# module: "sse"
# tag: "AUTH"
# [23:40:33.819] DEBUG: [sse] openai → openai | stream=false
# module: "sse"
# tag: "FORMAT"
# [23:40:33.820] DEBUG: [sse] OPENAI | gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "REQUEST"
# [23:40:33.824] WARN: [sse] Account 5cfce4ff... unavailable (500), trying fallback
# module: "sse"
# tag: "AUTH"
# [23:40:33.825] DEBUG: [sse] openai | total connections: 2, excludeId: 5cfce4ff-00c1-4e25-8c9b-acc7be84082f
# module: "sse"
# tag: "AUTH"
# [23:40:33.825] DEBUG: [sse] openai | available: 1/2
# module: "sse"
# tag: "AUTH"
# [23:40:33.825] DEBUG: [sse] → 5cfce4ff | excluded rateLimited until 2026-04-06T23:40:36.823Z
# module: "sse"
# tag: "AUTH"
# [23:40:33.825] INFO: [sse] Using openai account: 8ae4bbf9...
# module: "sse"
# tag: "AUTH"
# [23:40:33.826] DEBUG: [sse] openai → openai | stream=false
# module: "sse"
# tag: "FORMAT"
# [23:40:33.826] DEBUG: [sse] OPENAI | gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "REQUEST"
# [23:40:33.829] DEBUG: [sse] Stored response for gpt-4o-mini (6 tokens)
# module: "sse"
# tag: "CACHE"
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# Subtest: chat pipeline falls back to the next account after a provider failure
ok 19 - chat pipeline falls back to the next account after a provider failure
---
duration_ms: 147.807701
type: 'test'
...
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# [ERROR] [503]: openai combo miss
# ❌ openai [503]: [503]: openai combo miss
# [23:40:33.958] INFO: [sse] 📥 POST /v1/chat/completions | combo-fallback | 1 msgs
# module: "sse"
# tag: "HTTP"
# method: "POST"
# path: "/v1/chat/completions | combo-fallback | 1 msgs"
# [23:40:33.959] DEBUG: [sse] No API key provided (local mode)
# module: "sse"
# tag: "AUTH"
# [23:40:33.959] INFO: [sse] Combo "combo-fallback" [priority] with 2 models
# module: "sse"
# tag: "CHAT"
# [23:40:33.960] INFO: [sse] priority with nested resolution: 2 total models
# module: "sse"
# tag: "COMBO"
# [23:40:33.961] DEBUG: [sse] openai | total connections: 1, excludeId: none
# module: "sse"
# tag: "AUTH"
# [23:40:33.961] DEBUG: [sse] openai | available: 1/1
# module: "sse"
# tag: "AUTH"
# [23:40:33.961] INFO: [sse] Trying model 1/2: openai/gpt-4o-mini
# module: "sse"
# tag: "COMBO"
# [23:40:33.961] INFO: [sse] Provider: openai, Model: gpt-4o-mini
# module: "sse"
# tag: "ROUTING"
# [23:40:33.962] DEBUG: [sse] openai | total connections: 1, excludeId: none
# module: "sse"
# tag: "AUTH"
# [23:40:33.962] DEBUG: [sse] openai | available: 1/1
# module: "sse"
# tag: "AUTH"
# [23:40:33.962] INFO: [sse] Using openai account: 116917d1...
# module: "sse"
# tag: "AUTH"
# [23:40:33.963] DEBUG: [sse] openai → openai | stream=false
# module: "sse"
# tag: "FORMAT"
# [23:40:33.963] DEBUG: [sse] OPENAI | gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "REQUEST"
# [23:40:33.971] WARN: [sse] Account 116917d1... unavailable (503), trying fallback
# module: "sse"
# tag: "AUTH"
# [23:40:33.971] DEBUG: [sse] openai | total connections: 1, excludeId: 116917d1-5c07-40ff-ba36-b5bea52054ff
# module: "sse"
# tag: "AUTH"
# [23:40:33.971] DEBUG: [sse] openai | available: 0/1
# module: "sse"
# tag: "AUTH"
# [23:40:33.971] DEBUG: [sse] → 116917d1 | excluded rateLimited until 2026-04-06T23:40:36.970Z
# module: "sse"
# tag: "AUTH"
# [23:40:33.971] WARN: [sse] openai | all 1 active accounts rate limited (reset after 3s) | lastErrorCode=503.0, lastError=[503]: openai combo miss
# module: "sse"
# tag: "AUTH"
# [23:40:33.971] INFO: [sse] openai/gpt-4o-mini marked unavailable — all accounts exhausted (HTTP 503)
# module: "sse"
# tag: "AVAILABILITY"
# [23:40:33.971] WARN: [sse] [openai/gpt-4o-mini] [503]: openai combo miss (reset after 3s)
# module: "sse"
# tag: "CHAT"
# [23:40:33.972] WARN: [sse] Model openai/gpt-4o-mini failed, trying next
# module: "sse"
# tag: "COMBO"
# status: 503
# [23:40:33.972] INFO: [sse] Waiting 3000ms before fallback to next model
# module: "sse"
# tag: "COMBO"
# [20:40] 📊 [USAGE] CLAUDE | in=10 | out=4 | account=23e06021...
# [23:40:36.974] DEBUG: [sse] claude | total connections: 1, excludeId: none
# module: "sse"
# tag: "AUTH"
# [23:40:36.975] DEBUG: [sse] claude | available: 1/1
# module: "sse"
# tag: "AUTH"
# [23:40:36.975] INFO: [sse] Trying model 2/2: claude/claude-3-5-sonnet-20241022
# module: "sse"
# tag: "COMBO"
# [23:40:36.975] INFO: [sse] Provider: claude, Model: claude-3-5-sonnet-20241022
# module: "sse"
# tag: "ROUTING"
# [23:40:36.976] DEBUG: [sse] claude | total connections: 1, excludeId: none
# module: "sse"
# tag: "AUTH"
# [23:40:36.976] DEBUG: [sse] claude | available: 1/1
# module: "sse"
# tag: "AUTH"
# [23:40:36.976] INFO: [sse] Using claude account: 23e06021...
# module: "sse"
# tag: "AUTH"
# [23:40:36.977] DEBUG: [sse] openai → claude | stream=false
# module: "sse"
# tag: "FORMAT"
# [23:40:36.978] DEBUG: [sse] CLAUDE | claude-3-5-sonnet-20241022 | 1 msgs
# module: "sse"
# tag: "REQUEST"
# [23:40:36.981] DEBUG: [sse] Stored response for claude-3-5-sonnet-20241022 (14 tokens)
# module: "sse"
# tag: "CACHE"
# [23:40:36.983] INFO: [sse] Model claude/claude-3-5-sonnet-20241022 succeeded (3023ms, 0 fallbacks)
# module: "sse"
# tag: "COMBO"
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# Subtest: chat pipeline falls back across combo models when the first provider fails
ok 20 - chat pipeline falls back across combo models when the first provider fails
---
duration_ms: 3156.605154
type: 'test'
...
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# [23:40:37.124] INFO: [sse] 📥 POST /v1/chat/completions | openai/gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "HTTP"
# method: "POST"
# path: "/v1/chat/completions | openai/gpt-4o-mini | 1 msgs"
# [23:40:37.124] DEBUG: [sse] No API key provided (local mode)
# module: "sse"
# tag: "AUTH"
# [23:40:37.125] INFO: [sse] 📥 POST /v1/chat/completions | openai/gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "HTTP"
# method: "POST"
# path: "/v1/chat/completions | openai/gpt-4o-mini | 1 msgs"
# [23:40:37.125] DEBUG: [sse] No API key provided (local mode)
# module: "sse"
# tag: "AUTH"
# [23:40:37.127] INFO: [sse] Provider: openai, Model: gpt-4o-mini
# module: "sse"
# tag: "ROUTING"
# [23:40:37.128] DEBUG: [sse] openai | total connections: 1, excludeId: none
# module: "sse"
# tag: "AUTH"
# [23:40:37.128] DEBUG: [sse] openai | available: 1/1
# module: "sse"
# tag: "AUTH"
# [23:40:37.128] INFO: [sse] Using openai account: 10d570ae...
# module: "sse"
# tag: "AUTH"
# [23:40:37.129] DEBUG: [sse] openai → openai | stream=false
# module: "sse"
# tag: "FORMAT"
# [23:40:37.130] DEBUG: [sse] OPENAI | gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "REQUEST"
# [23:40:37.132] INFO: [sse] Provider: openai, Model: gpt-4o-mini
# module: "sse"
# tag: "ROUTING"
# [23:40:37.132] DEBUG: [sse] openai | total connections: 1, excludeId: none
# module: "sse"
# tag: "AUTH"
# [23:40:37.132] DEBUG: [sse] openai | available: 1/1
# module: "sse"
# tag: "AUTH"
# [23:40:37.133] INFO: [sse] Using openai account: 10d570ae...
# module: "sse"
# tag: "AUTH"
# [23:40:37.134] DEBUG: [sse] openai → openai | stream=false
# module: "sse"
# tag: "FORMAT"
# [23:40:37.134] DEBUG: [sse] OPENAI | gpt-4o-mini | 1 msgs
# module: "sse"
# tag: "REQUEST"
# [20:40] 📊 [USAGE] OPENAI | in=4 | out=2 | account=10d570ae...
# [20:40] 📊 [USAGE] OPENAI | in=4 | out=2 | account=10d570ae...
# [23:40:37.157] DEBUG: [sse] Joined in-flight request hash=f467c6e15f3cb6e2
# module: "sse"
# tag: "DEDUP"
# [23:40:37.160] DEBUG: [sse] Stored response for gpt-4o-mini (6 tokens)
# module: "sse"
# tag: "CACHE"
# [23:40:37.161] DEBUG: [sse] Stored response for gpt-4o-mini (6 tokens)
# module: "sse"
# tag: "CACHE"
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# [Migration] Applied: 002_mcp_a2a_tables
# [Migration] Applied: 003_provider_node_custom_paths
# [Migration] Applied: 004_proxy_registry
# [Migration] Applied: 005_combo_agent_fields
# [Migration] Applied: 006_detailed_request_logs
# [Migration] Applied: 007_search_request_type
# [Migration] Applied: 008_registered_keys
# [Migration] Applied: 009_requested_model
# [Migration] Applied: 010_model_combo_mappings
# [Migration] Applied: 011_webhooks
# [Migration] Applied: 012_fix_token_input_cache_tokens
# [Migration] Applied: 013_quota_snapshots
# [Migration] Applied: 014_unified_log_artifacts
# [Migration] Applied: 015_create_memories
# [Migration] Applied: 016_create_skills
# [Migration] Applied: 017_version_manager_upstream_proxy
# [Migration] 16 migration(s) applied successfully.
# [DB] SQLite database ready: /tmp/omniroute-chat-pipeline-5DubiT/storage.sqlite
# [DB] SQLite WAL checkpoint completed (TRUNCATE).
# Subtest: chat pipeline deduplicates concurrent identical non-stream requests
ok 21 - chat pipeline deduplicates concurrent identical non-stream requests
---
duration_ms: 176.545473
type: 'test'
...
# === WTF NODE DUMP ===
# [WTF Node?] open handles:
# - File descriptors: (note: stdio always exists)
# - fd 2 (stdio)
# - fd 1 (stdio)
1..21
# tests 21
# suites 0
# pass 21
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 36056.905402