Skip to content

Conversation

@enyst
Copy link
Collaborator

@enyst enyst commented Nov 24, 2025

Add SDK guide for the GPT-5.1 ApplyPatch example (examples/01_standalone_sdk/28_apply_patch_with_gpt5_1.py).

This corresponds to the SDK changes in OpenHands/software-agent-sdk PR #1166 (feat: GPT-5.1 ApplyPatch tool).

Co-authored-by: openhands <openhands@all-hands.dev>
@enyst enyst marked this pull request as ready for review November 25, 2025 11:09
@enyst enyst requested a review from xingyaoww as a code owner November 25, 2025 11:09
Co-authored-by: openhands <openhands@all-hands.dev>
@enyst
Copy link
Collaborator Author

enyst commented Nov 25, 2025

Actually I'm not sure this belongs in the docs, or not quite like this, it's not a "guide".

@enyst
Copy link
Collaborator Author

enyst commented Nov 30, 2025

@OpenHands Read OpenHands/software-agent-sdk#1166 and take from there the examples/ example script, and update this PR with the latest content if it changed.

Then remove the text that says here, in the docs PR, that it's available on github, because it won't be: I'll remove it from there, and it stays only here.

Commit and push the docs branch.

@openhands-ai
Copy link

openhands-ai bot commented Nov 30, 2025

I'm on it! enyst can track my progress at all-hands.dev

- Sync code block from agent-sdk PR #1166 (feat/apply-patch-tool-gpt5-1)
- Drop GitHub availability note per request; example lives in docs only

Co-authored-by: openhands <openhands@all-hands.dev>
@openhands-ai
Copy link

openhands-ai bot commented Nov 30, 2025

Summary of work completed

Checklist

  • Pulled the latest example script from OpenHands/software-agent-sdk PR #1166 (branch feat/apply-patch-tool-gpt5-1, SHA adcb46d5)
  • Synced the code block in docs page to that example:
    • File updated: sdk/guides/agent-apply-patch-gpt5-1.mdx
    • Change included removal of native_tool_calling=True to match the current example
  • Removed the “This example is available on GitHub …” note from this page as requested
  • Committed and pushed changes to the docs branch feat/apply-patch-tool-gpt5-1

Git

  • Commit: bc8f15c
  • Message: docs(sdk): sync GPT-5.1 ApplyPatch example and remove GitHub source note
  • Scope: Only the targeted guide was changed; no extraneous edits

Result

  • The guide now embeds the up-to-date example code from the SDK PR and no longer references the GitHub location, per your instructions.

View full conversation

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.

2 participants