Skip to content

docs(ai-transport): update run-end error API surface#3424

Merged
lawrence-forooghian merged 1 commit into
mainfrom
AIT-879-stamp-error-on-run-end
Jun 22, 2026
Merged

docs(ai-transport): update run-end error API surface#3424
lawrence-forooghian merged 1 commit into
mainfrom
AIT-879-stamp-error-on-run-end

Conversation

@lawrence-forooghian

Copy link
Copy Markdown
Contributor

Reflect the @ably/ai-transport API changes from [1] for surfacing
agent run errors:

  • Run.end takes a RunEndParams object: run.end({ reason }), or
    run.end({ reason: 'error', error }) to surface a terminal error.
  • vercelRunOutcome returns a VercelRunOutcome object; guard on
    outcome.reason === 'suspend', otherwise pass it to run.end(outcome).
  • Document RunInfo.error and RunNode.state (RunNodeState) in the
    reference pages.

[1] ably/ably-ai-transport-js#181

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

@coderabbitai

coderabbitai Bot commented Jun 18, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 8a613849-9905-4dca-8b30-5e3094ecf8d9

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch AIT-879-stamp-error-on-run-end

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Reflect the @ably/ai-transport API changes from [1] for surfacing
agent run errors:

- Run.end takes a RunEndParams object: run.end({ reason }), or
  run.end({ reason: 'error', error }) to surface a terminal error.
- vercelRunOutcome returns a VercelRunOutcome object; guard on
  outcome.reason === 'suspend', otherwise pass it to run.end(outcome).
- Document RunInfo.error and RunNode.state (RunNodeState) in the
  reference pages.

[1] ably/ably-ai-transport-js#181

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lawrence-forooghian lawrence-forooghian force-pushed the AIT-879-stamp-error-on-run-end branch from d8542ed to a363d8c Compare June 22, 2026 08:11
@lawrence-forooghian lawrence-forooghian merged commit 8fc6e03 into main Jun 22, 2026
7 checks passed
@lawrence-forooghian lawrence-forooghian deleted the AIT-879-stamp-error-on-run-end branch June 22, 2026 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants