Skip to content

docs: fix agents plugin route paths and beta import sources - #495

Open
pkosiec wants to merge 2 commits into
mainfrom
docs/fix-agents-route-path
Open

docs: fix agents plugin route paths and beta import sources#495
pkosiec wants to merge 2 commits into
mainfrom
docs/fix-agents-route-path

Conversation

@pkosiec

@pkosiec pkosiec commented Jul 28, 2026

Copy link
Copy Markdown
Member

Two copy-paste-breaking errors in docs/docs/plugins/agents.md. Docs-only, no code change.

Route paths — plugin mounts under /api/agents/ (plural), docs said /api/agent/:

  • POST /api/agent/approve/api/agents/approve (×2)
  • POST /api/agent/cancel/api/agents/cancel
  • Matches injectRoutes in packages/appkit/src/plugins/agents/agents.ts and the reference app in apps/dev-playground/client/src/routes/.

Import sources — beta-only symbols were imported from the GA entry @databricks/appkit; they live on @databricks/appkit/beta:

  • agents, createAgent, runAgent, tool moved to the /beta import in 4 code blocks.
  • Also removed a duplicate agents binding (imported from both entries in one block).
  • Now consistent with the already-correct blocks elsewhere in the same doc.

This pull request and its description were written by Isaac.

@pkosiec
pkosiec marked this pull request as ready for review July 29, 2026 09:28
@pkosiec
pkosiec requested a review from a team as a code owner July 29, 2026 09:28
@pkosiec
pkosiec requested a review from calvarjorge July 29, 2026 09:28
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