GPTCache icon indicating copy to clipboard operation
GPTCache copied to clipboard

[Bug]: Customize Cache

Open susoooon opened this issue 2 years ago • 1 comments

Current Behavior

want to customize the component, in order to add more static methods,such as openai base_url。But I got an error whether i remove cache.init or not

gptcache.utils.error.NotInitError: The cache should be inited before using

e723a566fd615b807766efafcde3969

Expected Behavior

No response

Steps To Reproduce

No response

Environment

linux
latest packages

Anything else?

No response

susoooon avatar May 06 '23 03:05 susoooon

can you give me a simple example? let me try to test it

SimFG avatar May 06 '23 03:05 SimFG

@susoooon hello, is there your problem? If you encounter any problem about gptcache usage, please give me a new issue. And i will close it.

SimFG avatar May 25 '23 05:05 SimFG