Skip to content

1 deliberative latency observability speculative overlap structured outputs and UI alignment#2

Merged
fdidonato merged 7 commits intomainfrom
1-deliberative-latency-observability-speculative-overlap-structured-outputs-and-ui-alignment
Mar 30, 2026
Merged

1 deliberative latency observability speculative overlap structured outputs and UI alignment#2
fdidonato merged 7 commits intomainfrom
1-deliberative-latency-observability-speculative-overlap-structured-outputs-and-ui-alignment

Conversation

@fdidonato
Copy link
Copy Markdown
Owner

No description provided.

…tructured outputs, and UI alignment

Orchestrator
- Add speculative overlap: run risk estimation and speculative policy.generate
  in parallel; propagate contextvars in worker threads so llm_calls persist.
- Add parallel_critic_with_modules: run critic, simulator, and perspectives in
  full parallel when enabled; keep hard-violation semantics (discard sim/persp
  when needed).
- Extend OrchestratorConfig and config_loader / .env.template for new flags.

Policy & OpenAI
- Wire structured JSON output (response_format / json_schema) through policy
  completion and shared openai_params helpers.

Runtime modules & prompts
- Enable structured outputs for critic, simulator, perspectives, and
  hindsight; align prompts with schema constraints.

UI
- Merge adjacent deliberation flow tiers when calls overlap in wall-clock time
  so parallel phases display correctly in request detail.

Docs & install
- Document orchestrator flags, structured-output behavior, and env vars across
  module docs, architecture_spec, INSTALL, and README.
…tructured outputs, and UI alignment

-test on latency reduction with model tiering and upgrading
…tructured outputs, and UI alignment

-added rewrite constrains to rewrite prompt based on previous benchmark result with 4.1-nano in rewrite that used to add examples and new informations slowing down execution
…tructured outputs, and UI alignment

-added 4.1 model in simulator and rewrite in minimal end env template
…tructured outputs, and UI alignment

-modified documentation related to simulator and rewrite model choosen to reduce latency
…tructured outputs, and UI alignment

-modified documentation related to last benchmark execution based on current modification
…tructured outputs, and UI alignment

-precommit run fix
@fdidonato fdidonato merged commit 844fd68 into main Mar 30, 2026
4 checks passed
@fdidonato fdidonato deleted the 1-deliberative-latency-observability-speculative-overlap-structured-outputs-and-ui-alignment branch March 30, 2026 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deliberative latency & observability: speculative overlap, structured outputs, and UI alignment

1 participant