- Replace OpenAI-specific responses.create() API with standard chat.completions.create() - Update get_stock_news_openai, get_global_news_openai, and get_fundamentals_openai - Add comprehensive tests for OpenAI, Gemini, and OpenRouter compatibility - All functions now use standard OpenAI-compatible chat completion API - Fixes RuntimeError: All vendor implementations failed for method 'get_global_news' - Fixes RuntimeError: All vendor implementations failed for method 'get_indicators' The issue was that the openai vendor functions used OpenAI-specific API features (responses.create with web_search_preview tools) that are not supported by Gemini or OpenRouter. By switching to the standard chat completions API, these functions now work with any OpenAI-compatible provider. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| alpha_vantage.py | ||
| alpha_vantage_common.py | ||
| alpha_vantage_fundamentals.py | ||
| alpha_vantage_indicator.py | ||
| alpha_vantage_news.py | ||
| alpha_vantage_stock.py | ||
| config.py | ||
| google.py | ||
| googlenews_utils.py | ||
| interface.py | ||
| local.py | ||
| openai.py | ||
| reddit_utils.py | ||
| stockstats_utils.py | ||
| utils.py | ||
| y_finance.py | ||
| yfin_utils.py | ||