LibreChat/api/app/clients/specs
Danny Avila ad1503abdc
🧪 feat: Claude Sonnet 4 - 1M Context Window (Beta Header) (#9093)
* adding beta header context-1m-2025-08-07 to claude sonnet 4 to increase contact window to 1M tokens

* adding context-1m beta header to test cases

* ci: Update Anthropic `getLLMConfig` tests and headers for model variations

- Refactored test cases to ensure proper handling of model variations for 'claude-sonnet-4'.
- Cleaned up unused mock implementations in tests for better clarity and performance.

* refactor: regex in header retrieval for 'claude-sonnet-4' models

* refactor: default tokens for 'claude-sonnet-4' to `1,000,000`

* refactor: add token value retrieval and pattern matching to model tests

---------

Co-authored-by: Dirk Petersen <no-reply@nowhere.com>
2025-08-16 13:36:46 -04:00
..
AnthropicClient.test.js 🧪 feat: Claude Sonnet 4 - 1M Context Window (Beta Header) (#9093) 2025-08-16 13:36:46 -04:00
BaseClient.test.js ♻️ fix: Correct Message ID Assignment Logic (#8439) 2025-07-14 00:57:20 -04:00
FakeClient.js 🐼 feat: Add Flux Image Generation Tool (#6147) 2025-03-02 13:19:53 -05:00
OpenAIClient.test.js 👤 feat: User Placeholder Variables for Custom Endpoint Headers (#7993) 2025-06-23 12:39:27 -04:00
OpenAIClient.tokens.js 🛡️ feat: Optimize and Improve Anonymity of SharedLinks (#3543) 2024-08-05 03:34:00 -04:00