inter-hub-haskell/Application
Bernd Worsch 674f5da0e1 feat: integrate llm-connect FR-1/FR-3/FR-4 into IHF bridge
FR-3 (async_execute_prompt): CollectiveProposals now invokes all agents
concurrently via callAgentsBatch → single bridge subprocess with
asyncio.gather. Latency scales with slowest agent, not sum.

FR-4 (BudgetTracker): AgentDelegations passes tokenBudget to bridge;
llm-connect enforces it natively via BudgetTracker in RunConfig.
BudgetExceededError is a first-class BridgeError variant with total/
consumed/requested fields surfaced to the operator.

FR-1 (LLMServer passthrough): bridge accepts optional serverUrl field;
if present, calls POST {serverUrl}/execute instead of spawning a new
adapter. Infrastructure ready for hot-agent pre-warming (no schema
change required).

AgentBridge.hs: adds callAgentsBatch, callAgentWithBudget,
BudgetExceededError constructor, bridgeErrorMessage helper, defaultRequest,
requestToJson. All controllers updated to use bridgeErrorMessage.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 22:48:29 +00:00
..
Helper feat: integrate llm-connect FR-1/FR-3/FR-4 into IHF bridge 2026-04-01 22:48:29 +00:00
Migration feat(WP-0012): IHF Phase 11 — Advanced AI Federation 2026-04-01 20:57:17 +00:00
Script feat(T01): bootstrap IHP v1.5 project scaffold 2026-03-27 01:36:18 +00:00
Fixtures.sql feat(T01): bootstrap IHP v1.5 project scaffold 2026-03-27 01:36:18 +00:00
Schema.sql feat(WP-0012): IHF Phase 11 — Advanced AI Federation 2026-04-01 20:57:17 +00:00