More guidance tuning
This commit is contained in:
@@ -141,7 +141,7 @@ async def handle(args: Dict[str, Any]) -> List[Dict[str, Any]]:
|
||||
return [
|
||||
{
|
||||
"type": "text",
|
||||
"text": f"Image successfully generated using model '{model_name}'.\n\nTo show the image to the user, you can include this markdown link in your response: "
|
||||
"text": f"Image successfully generated using model '{model_name}'.\n\nLocal path: {raw_path}\nTo show the image to the user, you can include this markdown link in your response: "
|
||||
},
|
||||
{
|
||||
"type": "image",
|
||||
|
||||
+1
-1
@@ -62,7 +62,7 @@ async def _search(title: str, limit: int = 5, fallback: bool = False) -> str:
|
||||
lines.append(f"{i}. [{title_res}] - Snippet: {snippet}")
|
||||
|
||||
if fallback:
|
||||
lines.append("\n[Tip: Use the title in brackets [ ] to explore the selected page.]")
|
||||
lines.append("\nUse the title in brackets [ ] to explore the selected page.")
|
||||
|
||||
return "\n".join(lines)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user