dspy icon indicating copy to clipboard operation
dspy copied to clipboard

env var for cache_utils.py

Open JPonsa opened this issue 11 months ago • 2 comments

add environmental variable ''DPS_CACHEBOOL' to activate or deactivate cache. By default True.

JPonsa avatar Mar 06 '24 17:03 JPonsa

However, it would be cleaner to have config option to disable cache per request

JPonsa avatar Mar 06 '24 17:03 JPonsa

Thank you very much, I needed this, too.

insop avatar Mar 07 '24 07:03 insop

@okhat

insop avatar Mar 09 '24 17:03 insop

@insop is there any action from my side?

JPonsa avatar Mar 16 '24 21:03 JPonsa

Not sure why the checks had failed. Rerunning them and will merge if all is good.

Update: OK they're failing again looks like....

okhat avatar Mar 16 '24 22:03 okhat

@isaacbmiller do you happen to know if this failure is expected?

okhat avatar Mar 16 '24 22:03 okhat

@JPonsa merge main back into your branch and then the checks will pass

@okhat if PRs were created in the ~1 week period where I broke CI from forks, then the tests will fail

isaacbmiller avatar Mar 17 '24 00:03 isaacbmiller

CI working as intended

isaacbmiller avatar Mar 17 '24 20:03 isaacbmiller