repo_qa tool repo variable meer duidelijk gemaakt voor toolcall

This commit is contained in:
admin 2026-01-22 17:14:37 +01:00
parent 483f54164c
commit 932144e798

6
app.py
View File

@ -2080,7 +2080,7 @@ async def _execute_tool(name: str, args: dict) -> dict:
# Repo
if name == "repo_qa":
# High-level QA over een specifieke repo.
out=json.dumps(await repo_qa_answer(repo_hint=args.get("repo_hint"),question=args.get("question"),branch=args.get("branch","main"),n_ctx=10), ensure_ascii=False)
out=json.dumps(await repo_qa_answer(repo_hint=args.get("repo"),question=args.get("question"),branch=args.get("branch","main"),n_ctx=10), ensure_ascii=False)
return out
# Web tools
@ -2279,11 +2279,11 @@ TOOLS_REGISTRY = {
},"required":["command"]}
},
"repo_qa": {
"description": "High-level QA over een specifieke repo. (incl. RAG,clone,summary,context fuctionalities). Repo hint graag als full url met .git ",
"description": "High-level QA over een specifieke repo. (incl. RAG,clone,summary,context fuctionalities).",
"parameters":{
"type":"object",
"properties":{
"repo_hint":{"type":"string"},
"repo":{"type":"string"},
"question":{"type":"string"},
"branch":{"type":"string"},
},"required":["repo_hint","question"]}