Skip to content

feat(providers): add Volcano Engine Agent Plan site - #584

Open
huangcheng wants to merge 3 commits into
TencentCloud:developfrom
huangcheng:feature/volcengine-agent-plan
Open

feat(providers): add Volcano Engine Agent Plan site#584
huangcheng wants to merge 3 commits into
TencentCloud:developfrom
huangcheng:feature/volcengine-agent-plan

Conversation

@huangcheng

@huangcheng huangcheng commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add Volcano Engine Agent Plan (https://ark.cn-beijing.volces.com/api/plan/v3) as a third Volcano site, with UI label Agent Plan.
  • Bundle src/octop/infra/agents/providers/provider_template.json as a general harness catalog fallback: any provider id missing from harness is filled from this file (same id keeps the harness row).
  • Future providers can be added by editing that JSON (no hardcoded inject in presets.py).

Test plan

  • make all (format / lint / mypy / tests)
  • Pre-commit (incl. dashboard build) green
  • uv run pytest tests/unit/test_provider_preset_expansion.py -q
  • Local API: Volcano Engine returns open_platform / coding_plan / agent_plan
  • Dashboard → Models → Volcano Engine site modal shows 3 sites including Agent Plan
  • Configure Agent Plan with an ARK key and select a listed model

Expose the /api/plan/v3 Agent Plan endpoint as a third Volcano Engine
site (with UI label), injecting the preset when harness-agent has not
shipped the template row yet.
Add the full catalog JSON (Agent Plan inserted after Coding Plan) so
reviewers can sync harness-agent without relying on a private template.
@huangcheng

Copy link
Copy Markdown
Contributor Author

Attached the full provider catalog for harness sync:

  • Path in this PR: docs/examples/provider_template.json
  • Change vs stock template: inserted volcengine-cn-agentplan immediately after volcengine-cn-codingplan (https://ark.cn-beijing.volces.com/api/plan/v3, variant agent_plan, 13 models).

Octop still injects this site at runtime until harness ships the same row.

Move provider_template.json into the providers package and merge any
missing harness ids from it, so new sites like Agent Plan are data-driven
instead of hardcoded in presets.py.
@huangcheng

Copy link
Copy Markdown
Contributor Author

Self-check per CONTRIBUTING passed (make all + pre-commit). Pushed:

  • refactor(providers): use bundled template as general harness fallback

Catalog path is now src/octop/infra/agents/providers/provider_template.json (infra fallback for any missing harness provider id, not Agent Plan–only).

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