Skip to content

Point pydo at Hosted Agents Origin openapi tip (MARSOHS-551) - #699

Draft
nveerdixit wants to merge 1 commit into
digitalocean:mainfrom
nveerdixit:marsohs-551-hosted-agents-origin
Draft

Point pydo at Hosted Agents Origin openapi tip (MARSOHS-551)#699
nveerdixit wants to merge 1 commit into
digitalocean:mainfrom
nveerdixit:marsohs-551-hosted-agents-origin

Conversation

@nveerdixit

Copy link
Copy Markdown

Summary

  • Update DO_OPENAPI_COMMIT_SHA.txt to 1835a59 (head of Add Hosted Agents /v2/agents/sessions with Origin (MARSOHS-551) openapi#1207/v2/agents/sessions + session_origin).
  • Add skipped mocked test stubs for agents.list_sessions / agents.get_session that assert Origin once Autorest regenerates.
  • No full clientgen in this PR — local Autorest WIP wiped inference surfaces; that broken tree was discarded. Safe minimal draft only.

Remaining regen (after openapi#1207 merges)

  1. Publish/bundle openapi tip (1835a59 or successor).
  2. Run workflow_dispatch on .github/workflows/python-client-gen.yml with openapi_short_sha=<sha>, or locally:
    SPEC_FILE=/path/to/bundled/DigitalOcean-public.v2.yaml make generate
  3. Drop the skipif on tests/mocked/test_agents_sessions.py (or let it auto-enable when Client.agents.list_sessions exists).

Related

Test plan

  • Working tree restored (inference / agent_inference surfaces intact)
  • Only SHA + skipped test stub committed
  • CI green on draft PR
  • Follow-up bot/local clientgen after openapi merges

Made with Cursor

Update DO_OPENAPI_COMMIT_SHA to openapi#1207 (1835a59). Full Autorest
regen is deferred; add skipped mocked test stubs documenting the
sessions Origin surface until clientgen can run.
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