Skip to content

Cache directory and database created even when cache_seed = None #679

@afourney

Description

@afourney

Prior to version 0.2.0, setting use_cache = False in the llm_config would prevent the .cache directory from being created.

The new method of disabling cache is to use seed = None (prior to 0.2.0b4) or cache_seed = None (after 0.2.0b4). However, setting the seed to None does not prevent the .cache folder from being created. In fact the following sqlite database gets initialized:

.cache/None/cache.db

This causes the fix in #593 to be less effective than with prior versions.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions