Skip to content

feat(map): add map_timeout config for longer MAP operations#4

Merged
saurabhjain1592 merged 1 commit into
mainfrom
fix/map-endpoint
Dec 23, 2025
Merged

feat(map): add map_timeout config for longer MAP operations#4
saurabhjain1592 merged 1 commit into
mainfrom
fix/map-endpoint

Conversation

@saurabhjain1592

Copy link
Copy Markdown
Member

Summary

  • Add map_timeout parameter to AxonFlowConfig (default: 120s)
  • Create separate _map_http_client with longer timeout for MAP operations
  • Update generate_plan() and execute_plan() to use the longer MAP timeout

Why

MAP (Multi-Agent Planning) operations involve multiple LLM calls and can take 30-60+ seconds. The default 60s timeout causes timeouts for complex queries.

Test plan

  • All 203 unit tests pass
  • MAP example tested successfully against staging

CHANGELOG

Updated with [Unreleased] section.

- Changed from /api/v1/orchestrator/plan to /api/request with
  request_type: 'multi-agent-plan' to match other SDKs
- Added parsePlanResponse() to handle Agent API response format
  (nested data.steps, data.domain, etc.)
- Updated test to use new endpoint and response format
- Fixed null-safety issues with Map.of() by using HashMap
@saurabhjain1592 saurabhjain1592 merged commit fb4cbff into main Dec 23, 2025
6 of 9 checks passed
saurabhjain1592 added a commit that referenced this pull request Jan 6, 2026
- Changed from /api/v1/orchestrator/plan to /api/request with
  request_type: 'multi-agent-plan' to match other SDKs
- Added parsePlanResponse() to handle Agent API response format
  (nested data.steps, data.domain, etc.)
- Updated test to use new endpoint and response format
- Fixed null-safety issues with Map.of() by using HashMap
@saurabhjain1592 saurabhjain1592 deleted the fix/map-endpoint branch January 11, 2026 13:20
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.

1 participant