OpenAI quota error when Claude model selected + Stock API 400 errors on most tickers
When using Dexter with Claude selected as the model, the application throws an OpenAI quota error instead of using the Claude API exclusively.
Error: InsufficientQuotaError: 429 You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.
My configs are :
- Selected model: Claude
- OpenAI API key: Configured and working (verified on platform.openai.com with successful usage)
- Anthropic/Claude API key: Configured
After checking both platforms (OpenAI and Anthropic), it appears the system is using both OpenAI AND Claude, even though only Claude was selected as the model. This results in quota errors referencing OpenAI's error documentation.
I made a request for analysis of 6 stocks. Here are the results: ├─ get prices (ticker=CEGS) ✗ API request failed: 400 Bad Request ├─ get prices (ticker=CYPH) ✓ Success ├─ get prices (ticker=NOWS) ✗ API request failed: 400 Bad Request ├─ get prices (ticker=ZCVX) ✗ API request failed: 400 Bad Request ├─ get prices (ticker=ZVST) ✗ API request failed: 400 Bad Request └─ get prices (ticker=ZXOM) ✗ API request failed: 400 Bad Request
Therefore, here's my questions :
- Why is OpenAI being called when Claude is the selected model?
- Is there a fallback or dependency on OpenAI that should be documented?
- Can the model selection be made exclusive to avoid cross-platform API calls?
- For the stock price errors: Does the API only work with certain tickers that exist in a specific database? If so, is there a way to validate tickers before making requests?
Thank you kindly!