Skip to content

Commit 8eb9fc9

Browse files
committed
improve server instructions
1 parent b08f8e0 commit 8eb9fc9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pkg/github/instructions.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,8 @@ Context management:
3838
1. Use pagination whenever possible with batches of 5-10 items.
3939
2. Use minimal_output parameter set to true if the full information is not needed to accomplish a task.
4040
41-
For 'search_*' tools specifically:
42-
1. Use separate 'sort' and 'order' parameters for sorting results if available - do not include 'sort:' syntax in query strings.
43-
2. Query strings should contain only search criteria (e.g., 'org:google language:python'), not sorting instructions.
44-
3. For best results: use 'query' for what to find, 'sort' for how to order results, 'order' for direction.`
41+
Tool usage guidance:
42+
1. For 'search_*' tools: Use separate 'sort' and 'order' parameters for sorting if available - do not include 'sort:' syntax in query strings. Query strings should contain only search criteria (e.g., 'org:google language:python'), not sorting instructions.`
4543

4644
allInstructions := []string{baseInstruction}
4745
allInstructions = append(allInstructions, instructions...)

0 commit comments

Comments
 (0)