SQLiteCache is not hit on Windows with Anthropic tools #21695
Labels
🔌: anthropic
Primarily related to Anthropic integrations
🤖:bug
Related to a bug, vulnerability, unexpected error with an existing feature
Checked other resources
Example Code
Error Message and Stack Trace (if applicable)
No response
Description
As the code provided, I used SQLiteCache to store the result of Anthropic with tools.
Run the same code twice, it is expected that
But, what happend is that
I have investegated the database file, found the
prompt
field of correspond records are completely same, and thellm
field of correspond records have only one difference:I have another Linux with langchain-community==0.0.36 and Anthropic without tools, which could hit the cache.
System Info
> pip show langchain-community Name: langchain-community Version: 0.0.38 Summary: Community contributed LangChain integrations. Home-page: https://github.com/langchain-ai/langchain Author: Author-email: License: MIT Location: d:\program files\python3\lib\site-packages Requires: aiohttp, dataclasses-json, langchain-core, langsmith, numpy, PyYAML, requests, SQLAlchemy, tenacity Required-by: langchain
The text was updated successfully, but these errors were encountered: