mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-30 05:29:53 +00:00
cleanup diff, cleanup agent
This commit is contained in:
parent
3ad983db0f
commit
cdc5f209dc
19 changed files with 462 additions and 558 deletions
|
|
@ -144,7 +144,7 @@ func (w *writeTool) Run(ctx context.Context, call ToolCall) (ToolResponse, error
|
|||
}
|
||||
}
|
||||
|
||||
sessionID, messageID := getContextValues(ctx)
|
||||
sessionID, messageID := GetContextValues(ctx)
|
||||
if sessionID == "" || messageID == "" {
|
||||
return NewTextErrorResponse("session ID or message ID is missing"), nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue