Skip to content

opencode: Fix checkpoints for OpenAI model patches#701

Draft
ezShroom wants to merge 3 commits intogit-ai-project:mainfrom
ezShroom:main
Draft

opencode: Fix checkpoints for OpenAI model patches#701
ezShroom wants to merge 3 commits intogit-ai-project:mainfrom
ezShroom:main

Conversation

@ezShroom
Copy link

@ezShroom ezShroom commented Mar 15, 2026

When I was using OpenAI models with OpenCode, no changes were getting reported. This seems to be be cause of two things together:

  • The tool they get is now called apply_patch
  • The path can't be accessed in the same way and is only present in the patch text, so it needs to be extracted

There's probably a cleaner way of extracting the path, but this appears to be enough for changes to start getting reported in my local environment

@CLAassistant
Copy link

CLAassistant commented Mar 15, 2026

CLA assistant check
All committers have signed the CLA.

devin-ai-integration[bot]

This comment was marked as resolved.

ezShroom and others added 2 commits March 15, 2026 20:26
…ithout realising that's a thing)

Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@ezShroom
Copy link
Author

give me another second the bot keeps bullying me into making a good PR

@ezShroom ezShroom marked this pull request as draft March 15, 2026 20:35
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