mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-05-31 21:39:28 +00:00
update security fix
This commit is contained in:
parent
b278123bc2
commit
4a9f26a8a4
1 changed files with 1 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ def google_search(query: str, search_type: str = "web", key: Key = Depends(key_m
|
|||
logger.info("Google search completed", extra={"query": query, "search_type": search_type, "result_count": len(responses)})
|
||||
else:
|
||||
error_info = data.get("error", {})
|
||||
logger.error("Google search API error", extra={"query": query, "api_error": error_info})
|
||||
logger.error("Google search API error", extra={"query": query})
|
||||
raise HTTPException(status_code=500, detail="Internal server error")
|
||||
|
||||
except Exception as e:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue