twitter BOIIIIIII

This commit is contained in:
Adam Cohen Hillel 2025-04-16 19:10:13 +01:00
parent 84ab75c489
commit 1841c1da35
3 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
from typing import Dict, Optional
from typing import Dict
from agent.tools.data_providers.RapidDataProviderBase import RapidDataProviderBase, EndpointSchema

View File

@ -5,6 +5,7 @@ from agent.tools.data_providers.LinkedinProvider import LinkedinProvider
from agent.tools.data_providers.YahooFinanceProvider import YahooFinanceProvider
from agent.tools.data_providers.AmazonProvider import AmazonProvider
from agent.tools.data_providers.ZillowProvider import ZillowProvider
from agent.tools.data_providers.TwitterProvider import TwitterProvider
class DataProvidersTool(Tool):
"""Tool for making requests to various data providers."""
@ -16,7 +17,8 @@ class DataProvidersTool(Tool):
"linkedin": LinkedinProvider(),
"yahoo_finance": YahooFinanceProvider(),
"amazon": AmazonProvider(),
"zillow": ZillowProvider()
"zillow": ZillowProvider(),
"twitter": TwitterProvider()
}
@openapi_schema({
@ -29,7 +31,7 @@ class DataProvidersTool(Tool):
"properties": {
"service_name": {
"type": "string",
"description": "The name of the data provider (e.g., 'linkedin')"
"description": "The name of the data provider (e.g., 'linkedin', 'twitter', 'zillow', 'amazon', 'yahoo_finance')"
}
},
"required": ["service_name"]