mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-30 13:39:52 +00:00
cleanup diff, cleanup agent
This commit is contained in:
parent
3ad983db0f
commit
cdc5f209dc
19 changed files with 462 additions and 558 deletions
|
|
@ -66,7 +66,7 @@ type BaseTool interface {
|
|||
Run(ctx context.Context, params ToolCall) (ToolResponse, error)
|
||||
}
|
||||
|
||||
func getContextValues(ctx context.Context) (string, string) {
|
||||
func GetContextValues(ctx context.Context) (string, string) {
|
||||
sessionID := ctx.Value(SessionIDContextKey)
|
||||
messageID := ctx.Value(MessageIDContextKey)
|
||||
if sessionID == nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue