summaryrefslogtreecommitdiffhomepage
path: root/internal/llm/tools/tools.go
diff options
context:
space:
mode:
authorKujtim Hoxha <[email protected]>2025-04-13 14:37:05 +0200
committerKujtim Hoxha <[email protected]>2025-04-21 13:41:27 +0200
commitcdc5f209dccdc980714f2ca1aeb52133d6e93cce (patch)
tree02fe97994dfce7f2e842be7b4c5170f534220eee /internal/llm/tools/tools.go
parent3ad983db0f2c08826d56cb5de274d706c95b3353 (diff)
downloadopencode-cdc5f209dccdc980714f2ca1aeb52133d6e93cce.tar.gz
opencode-cdc5f209dccdc980714f2ca1aeb52133d6e93cce.zip
cleanup diff, cleanup agent
Diffstat (limited to 'internal/llm/tools/tools.go')
-rw-r--r--internal/llm/tools/tools.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/llm/tools/tools.go b/internal/llm/tools/tools.go
index 473b787bb..07afe1363 100644
--- a/internal/llm/tools/tools.go
+++ b/internal/llm/tools/tools.go
@@ -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 {