You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(sync): re-apply deployment-critical adjacencies on top of upstream merge
These edits should have been folded into the merge commit (a901f34) but were
left uncommitted — pushing now to actually deliver CF Gateway support and
clean up leftovers from the -X theirs auto-resolution.
src/config.py
- Add LLMSettings.CF_GATEWAY_AUTH_TOKEN (single global needed for the
cf-aig-authorization header on any provider override client whose
base_url targets a CF gateway URL).
src/llm/registry.py
- Inject cf-aig-authorization header in get_openai_override_client,
get_anthropic_override_client, and get_gemini_override_client when
base_url contains 'gateway.ai.cloudflare.com' AND
LLM.CF_GATEWAY_AUTH_TOKEN is set. Rides on the existing openai/
anthropic/gemini transports — no parallel CF backend.
src/embedding_client.py
- Mirror the same header injection on the openai/gemini branches so
embeddings through CF Gateway authenticate correctly. Helper is
duplicated locally so the embedding client doesn't depend on the
LLM runtime registry module.
src/dreamer/specialists.py
- Drop get_provider() / get_thinking_budget() override methods on
BaseSpecialist + the per-specialist references to settings.DREAM.
DEDUCTION_PROVIDER / INDUCTION_PROVIDER / *_THINKING_BUDGET_TOKENS.
Those settings fields no longer exist upstream — same functionality
is reachable via DREAM_DEDUCTION_MODEL_CONFIG__TRANSPORT etc.
- Drop the orphan thinking_budget_tokens=llm_settings.THINKING_BUDGET_TOKENS
arg on the honcho_llm_call site that survived the auto-merge — the
value now lives on model_config which is already passed.
src/main.py
- ruff isort fix (autofixed) — uuid/time import order.
Verification: ruff check src/ ✓, basedpyright src/ ✓ (0 errors).
0 commit comments