mirror of
https://github.com/farcasclaudiu/TradingAgents.git
synced 2026-06-28 17:01:20 +03:00
minor fix
This commit is contained in:
@@ -43,7 +43,7 @@ def _make_api_request(function_name: str, params: dict) -> dict | str:
|
||||
api_params.update({
|
||||
"function": function_name,
|
||||
"apikey": get_api_key(),
|
||||
"source": "alphavangtagemcp"
|
||||
"source": "tradingagents",
|
||||
})
|
||||
|
||||
# Handle entitlement parameter if present in params or global variable
|
||||
|
||||
@@ -133,7 +133,7 @@ def get_vendor(category: str, method: str = None) -> str:
|
||||
# Fall back to category-level configuration
|
||||
return config.get("data_vendors", {}).get(category, "default")
|
||||
|
||||
def route_to_vender(method: str, *args, **kwargs):
|
||||
def route_to_vendor(method: str, *args, **kwargs):
|
||||
"""Route method calls to appropriate vendor implementation."""
|
||||
category = get_category_for_method(method)
|
||||
vendor_config = get_vendor(category, method)
|
||||
|
||||
Reference in New Issue
Block a user