Skip to content

docs: include required providerId in Execute AI Run curl example (#6030) - #6074

Merged
atomantic merged 1 commit into
mainfrom
claim/issue-6030
Sep 3, 2026
Merged

docs: include required providerId in Execute AI Run curl example (#6030)#6074
atomantic merged 1 commit into
mainfrom
claim/issue-6030

Conversation

@atomantic

Copy link
Copy Markdown
Owner

Summary

  • docs/API.md "Execute AI Run" curl example now includes the required "providerId" field ("claude-code", a real id from server/lib/aiToolkit/defaults/providers.sample.json; substitute any configured provider id from GET /api/providers).
  • Verified against server/lib/aiToolkit/routes/runs.js:34-36, which rejects a missing providerId with HTTP 400. Docs-only change; no code touched.

Closes #6030

Test plan

  • Parsed the documented JSON payload — valid JSON with providerId, prompt, workspacePath.
  • Ran server/lib/aiToolkit/routes/runs.test.js — 17/17 passed.
  • git diff --stat: 1 file changed, 1 insertion (docs/API.md).

@atomantic

Copy link
Copy Markdown
Owner Author

Local reviewer blocked: mtplx reviewer has no model configured in this environment (Settings → Code Reviewers page unset), so it returned no verdict after 1 attempt. Change is a docs-only one-liner, otherwise shippable — leaving open for CI + human review.

@atomantic
atomantic merged commit adeaa19 into main Sep 3, 2026
7 checks passed
@atomantic
atomantic deleted the claim/issue-6030 branch September 3, 2026 15:34
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.

docs/API.md Execute AI Run curl example omits required providerId, causing HTTP 400 on invocation

1 participant