| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
feat(workflow): add direct synthesis workflow Add a configurable direct synthesis workflow with concurrent panel calls, aggregator synthesis, OpenAI-compatible streaming, and aggregated standard usage. Register workflow models as exclusive virtual providers in boom-routing so child calls re-enter the shared Router and retain KVC scheduling, flow control, inflight tracking, request-rate accounting, key affinity, and priority headers. Reject recursive virtual-provider child routing and workflow model namespace conflicts across YAML, DB deployments, aliases, reloads, and Dashboard mutations. Aggregate successful child usage and model-specific costs through the existing parent audit, limiter, and billing paths, including partial usage when the parent fails or a stream ends without final usage. Keep responses on the standard OpenAI schema without creating a parallel workflow audit system or per-child audit rows. Add optional panel and flow-control queue timeouts, configuration validation, Dashboard fields, design documentation, and a process-level compatibility test for configurations created before workflow support. Core-Author: gpt-5.6-sol | 22 天前 | |
Merge atomgit/master into otlp, adapt new code to two-phase prompt-log API Conflicts were orthogonal: otlp-refactor splits PromptLogEntry into Request/Response phases with new_request + new_response_from; upstream atomgit added ProviderPromptTrace fusion injection via with_entry_enricher and set_fusion. Combined both: fusion enricher now runs against the Response-phase entry produced on Drop (after the inner stream's Drop, so the trace can observe finalization side effects). Refactored newly-merged call sites to the two-phase API: - boom-main/src/routes.rs: write_prompt_log_error (the only stale PromptLogEntry::new(...) caller) now emits a Request-phase entry then a Response-phase entry, applies fusion trace to the Response entry, and maps GatewayError variants to canonical error_code constants (CLIENT_DISCONNECTED / UPSTREAM_ERROR / TIMEOUT / MODEL_NOT_ALLOWED / AUTH_FAILED / RATE_LIMITED / INTERNAL_ERROR). - boom-main/tests/fusion_panel_tools_e2e.rs: read_prompt_logs now scans response_*.jsonl (where fusion lives under the two-phase layout); fusion_calls discriminates bare Response entries from the dashboard API's {request, response} envelope; client-disconnect test expects 499 + CLIENT_DISCONNECTED (otlp-refactor semantic). Verified: - cargo check and cargo check --features boom-main/otlp both clean - cargo test -p boom-promptlog --features otlp: 17/17 pass - cargo test -p boom-dashboard: 11/11 pass - cargo test -p boom-main --features boom-main/otlp: all boom-main tests pass, including the 14 fusion_panel_tools_e2e tests Signed-off-by: liqiang <liqiang@atomgit.com> Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: liqiang <liqiang64@huawei.com> | 7 天前 | |
feat(workflow): add direct synthesis workflow Add a configurable direct synthesis workflow with concurrent panel calls, aggregator synthesis, OpenAI-compatible streaming, and aggregated standard usage. Register workflow models as exclusive virtual providers in boom-routing so child calls re-enter the shared Router and retain KVC scheduling, flow control, inflight tracking, request-rate accounting, key affinity, and priority headers. Reject recursive virtual-provider child routing and workflow model namespace conflicts across YAML, DB deployments, aliases, reloads, and Dashboard mutations. Aggregate successful child usage and model-specific costs through the existing parent audit, limiter, and billing paths, including partial usage when the parent fails or a stream ends without final usage. Keep responses on the standard OpenAI schema without creating a parallel workflow audit system or per-child audit rows. Add optional panel and flow-control queue timeouts, configuration validation, Dashboard fields, design documentation, and a process-level compatibility test for configurations created before workflow support. Core-Author: gpt-5.6-sol | 22 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 22 天前 | ||
| 7 天前 | ||
| 22 天前 |