mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
Remove Print statement to fix T201 foundlinting error
This commit is contained in:
parent
93b96ed1fb
commit
de94db2e78
1 changed files with 0 additions and 4 deletions
|
@ -75,7 +75,6 @@ def fetch_mcp_servers() -> List[Dict[str, Any]]:
|
|||
return server_configs
|
||||
|
||||
except requests.RequestException as e:
|
||||
print(f"Error fetching MCP servers: {e}")
|
||||
return []
|
||||
|
||||
def update_mcp_servers_file(output_file: str = None) -> None:
|
||||
|
@ -94,9 +93,6 @@ def update_mcp_servers_file(output_file: str = None) -> None:
|
|||
if servers:
|
||||
with open(output_file, 'w') as f:
|
||||
json.dump(servers, f, indent=2)
|
||||
print(f"Successfully updated {output_file} with {len(servers)} server configurations")
|
||||
else:
|
||||
print("No server configurations were fetched. File not updated.")
|
||||
|
||||
if __name__ == "__main__":
|
||||
# Update the MCP servers file in the root directory of the repository
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue