Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix:change the img output format #56

Merged
merged 3 commits into from
Sep 28, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
chore:tool description
Onelevenvy committed Sep 27, 2024
commit 4d8dfaf829a8ac792beb102a6a9dd2d17cc40073
2 changes: 1 addition & 1 deletion backend/app/core/tools/googletranslate/googletranslate.py
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ def google_translate_invoke(content: str, dest: str) -> str:
googletranslate = StructuredTool.from_function(
func=google_translate_invoke,
name="Google Translate",
description="Useful for when you neet to translate text",
description="Useful for when you neet to translate.",
args_schema=GoogleTranslateInput,
return_direct=True,
)
6 changes: 3 additions & 3 deletions backend/app/core/tools/tool_manager.py
Original file line number Diff line number Diff line change
@@ -55,17 +55,17 @@ def load_external_tools(self):

external_tools = {
"duckduckgo-search": ToolInfo(
description="Searches the web using DuckDuckGo",
description="Searches the web using DuckDuckGo.",
tool=DuckDuckGoSearchRun(),
display_name="DuckDuckGo",
),
"wikipedia": ToolInfo(
description="Searches Wikipedia",
description="Searches Wikipedia.",
tool=WikipediaQueryRun(api_wrapper=WikipediaAPIWrapper()),
display_name="Wikipedia",
),
"tavilysearch": ToolInfo(
description="tavily search useful when searching for information on the internet",
description="Tavily is useful when searching for information on the internet.",
tool=TavilySearchResults(max_results=1),
display_name="Tavily Search",
),
2 changes: 1 addition & 1 deletion web/src/app/(applayout)/tools/page.tsx
Original file line number Diff line number Diff line change
@@ -130,7 +130,7 @@ function Skills() {
<Box
overflow="hidden"
textOverflow="ellipsis"
whiteSpace="nowrap"
// whiteSpace="nowrap"
>
{skill.description}
</Box>