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

can not define custom lc_cache_path when cache enabled #987

Open
necjamahim opened this issue May 13, 2024 · 0 comments
Open

can not define custom lc_cache_path when cache enabled #987

necjamahim opened this issue May 13, 2024 · 0 comments

Comments

@necjamahim
Copy link

necjamahim commented May 13, 2024

Describe the bug
When defining lc_cache_path and enabling cache in config type error is thrown with message "got multiple values for keyword argument lc_cache_path.

To Reproduce

  1. enable cache and define custom langchain cache path.
# Enable third parties caching (e.g LangChain cache)
cache = true
lc_cache_path = './.custom-cache-path.db'
  1. start chainlit server

TypeError is thrown:

TypeError: chainlit.config.ProjectSettings() got multiple values for keyword argument 'lc_cache_path'

Expected behavior
sqllite db file is created at specified path on OS ./.custom-cache-path.db

Desktop

  • macOS14.4.1
  • chainlit1.0.506

additional context
PR to resolve this issue: #982

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

No branches or pull requests

1 participant