repo_qa tool repo variable meer duidelijk gemaakt voor toolcall
This commit is contained in:
parent
483f54164c
commit
932144e798
6
app.py
6
app.py
@ -2080,7 +2080,7 @@ async def _execute_tool(name: str, args: dict) -> dict:
|
|||||||
# Repo
|
# Repo
|
||||||
if name == "repo_qa":
|
if name == "repo_qa":
|
||||||
# High-level QA over een specifieke repo.
|
# 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
|
return out
|
||||||
|
|
||||||
# Web tools
|
# Web tools
|
||||||
@ -2279,11 +2279,11 @@ TOOLS_REGISTRY = {
|
|||||||
},"required":["command"]}
|
},"required":["command"]}
|
||||||
},
|
},
|
||||||
"repo_qa": {
|
"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":{
|
"parameters":{
|
||||||
"type":"object",
|
"type":"object",
|
||||||
"properties":{
|
"properties":{
|
||||||
"repo_hint":{"type":"string"},
|
"repo":{"type":"string"},
|
||||||
"question":{"type":"string"},
|
"question":{"type":"string"},
|
||||||
"branch":{"type":"string"},
|
"branch":{"type":"string"},
|
||||||
},"required":["repo_hint","question"]}
|
},"required":["repo_hint","question"]}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user