Skip to content

L/api docs#358

Merged
lorenss-m merged 58 commits into
mainfrom
l/api-docs
Mar 11, 2026
Merged

L/api docs#358
lorenss-m merged 58 commits into
mainfrom
l/api-docs

Conversation

@lorenss-m
Copy link
Copy Markdown
Contributor

@lorenss-m lorenss-m commented Mar 3, 2026

Note

Medium Risk
Medium risk because it changes core agent execution to support multi-turn conversation inputs and citation propagation across providers, and modifies deploy/dev CLI behavior around env var syncing and MCP proxy tool forwarding.

Overview
Adds substantial new documentation for remote testing and REST API usage, plus a new guide for multi-turn chat scenarios (including A2A serving and examples) and updates nav/index pages to surface these docs.

Updates the Python SDK to better support chat-style, multi-turn agent runs by accepting conversation histories, mapping provider roles (notably Gemini’s model role), and exporting Chat from hud.__init__. Introduces provider-normalized citations in InferenceResult/Trace, extracts citations from OpenAI/Claude/Gemini responses, and (when enabled) threads tool outputs into provider-specific citation mechanisms; run() now submits {content, citations} when citations exist.

Improves tooling and DX: hud deploy now supports --no-env, persists a .env sync preference in .hud/deploy.json, and the build summary can show the environment name plus a quick-start task JSON. The Docker dev proxy now forwards hidden tools via a fallback client and cleans it up on shutdown, and dataset/task runners inject an Env-Hud-Model-Name header for HUD hub connections.

Written by Cursor Bugbot for commit 5d7843f. This will update automatically on new commits. Configure here.

Comment thread hud/environment/scenarios.py
Comment thread hud/environment/scenarios.py Outdated
Comment thread hud/cli/dev.py Outdated
Comment thread hud/server/router.py Outdated
Comment thread hud/server/router.py Outdated
Comment thread hud/server/server.py Outdated
Comment thread hud/server/router.py Outdated
Comment thread hud/agents/claude.py Outdated
Comment thread hud/agents/claude.py Outdated
Comment thread hud/environment/environment.py
lorenss-m and others added 12 commits March 3, 2026 00:30
Resolve PR conflicts in chat service, MCP patch compatibility, and chat tests.
- Fix test_execute_emits_working_and_completed to assert 'input-required'
  instead of 'completed', matching the production code which emits
  TaskState.input_required for multi-turn A2A conversation support

- Populate _visible_params in AgentTool.__init__ so tests that assert
  against it continue to work correctly

Applied via @cursor push command
Comment thread hud/agents/claude.py
Comment thread hud/agents/base.py
Comment thread hud/cli/dev.py
Comment thread hud/cli/dev.py
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Comment thread hud/datasets/runner.py Outdated
@lorenss-m lorenss-m merged commit a2512ae into main Mar 11, 2026
10 checks passed
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.

3 participants