mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-05 20:58:25 +00:00
Related to #30344 Add support for token counting for o-series models in `test_token_counts.py`. * **Update `_MODELS` and `_CHAT_MODELS` dictionaries** - Add "o1", "o3", and "gpt-4o" to `_MODELS` and `_CHAT_MODELS` dictionaries. * **Update token counts** - Add token counts for "o1", "o3", and "gpt-4o" models. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/langchain-ai/langchain/pull/30542?shareId=ab208bf7-80a3-4b8d-80c4-2287486fedae). |
||
---|---|---|
.. | ||
chat_models | ||
embeddings | ||
fake | ||
llms | ||
__init__.py | ||
test_imports.py | ||
test_load.py | ||
test_secrets.py | ||
test_token_counts.py |