Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache bug when using azure openai #128

Open
chinganc opened this issue Oct 1, 2024 · 0 comments
Open

Cache bug when using azure openai #128

chinganc opened this issue Oct 1, 2024 · 0 comments

Comments

@chinganc
Copy link

chinganc commented Oct 1, 2024

While a new cache_path is created in __init__ of AzureChatOpenAI, it is not successfully passed to the __init__ of parent class ChatOpenAI in this line, since ChatOpenAI's __init__ does not use cache_path.

As a result, all azure models will use the same cache file, which lead to incorrect results when switching between models.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant