mirror of
https://github.com/NikkeTryHard/zerogravity.git
synced 2026-04-25 23:26:01 +03:00
[GH-ISSUE #77] Tool results error with OpenCode - no captured functionCall history was available for replay #67
Labels
No labels
bug
enhancement
enhancement
notice
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/zerogravity#67
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LevinFaber on GitHub (Feb 25, 2026).
Original GitHub issue: https://github.com/NikkeTryHard/zerogravity/issues/77
Issue: Tool results error with OpenCode - "no captured functionCall history was available for replay"
Error Description
When using ZeroGravity with OpenCode and tool calling (MCP servers), I get this error:
Environment
/v1beta)Model Configuration
Steps to Reproduce
Diagnostic Report
Additional Context
tool_resultmessages, ZeroGravity doesn't have the correspondingfunctionCallhistory to replay/v1beta)Questions
/v1instead of/v1beta) for better tool calling support?Thank you for this awesome project! Looking forward to getting tool calling working.
@NikkeTryHard commented on GitHub (Feb 26, 2026):
Closing this out: the fix is implemented in private PR #162 (zerogravity-src), which has already been rebased onto main and is now resolved.\n\nSummary of resolution:\n- Tool-result replay now resolves by call_id.\n- Unknown call_id still fails fast as intended.\n- Streaming and final Responses function_call IDs are now consistent.\n\nThanks for the report and reproduction details.
@LevinFaber commented on GitHub (Feb 27, 2026):
zg-trace-2026-02-27_12-26-04_opus-4.6-28189078.tar.gz
Issue persists, attached trace