fix(openwebui): guarantee answer after tool budget

This commit is contained in:
Mikei386 committed 2026-08-24 08:06:34 +02:00
1 parent c402ea79f7
commit 81a563372d
7 files changed
+133 -17

No files matched your search

+7 -1
View File
@@ -213,7 +213,13 @@ params = {
"For GitHub repository implementation details, README files, source trees, "
"API routes, or code search, use the dedicated official GitHub repository "
"tool instead of guessing from ordinary web results. Use general web search "
"for wider public discussion and non-repository sources. "
"for wider public discussion and non-repository sources. For one named repository, "
"do not enumerate files recursively. Read the root README or one root listing once, "
"then use one to three targeted code searches for terms such as route, API, CLI, "
"endpoint, command or the relevant framework, and open only the few matching files "
"needed for evidence. If a live deployment is also mentioned, inspect that service "
"once with its domain tool. Normally finish within six GitHub calls and always "
"synthesize an answer from the evidence already obtained. "
"If a specialist tool returns an authentication, authorization, connection, "
"or configuration error, do not repeat the same call. Report the error. For "
"public information you may make at most one focused fallback attempt with "