Skip to content

Commit 24e6487

Browse files
committed
fixes #22
1 parent 5f551e4 commit 24e6487

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

cachy/core.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
from fastcore.utils import *
1111

1212
# %% ../nbs/00_core.ipynb #527e76df
13-
doms = ("api.openai.com", "api.anthropic.com", "generativelanguage.googleapis.com", "api.deepseek.com")
13+
doms = ("api.openai.com", "api.anthropic.com", "generativelanguage.googleapis.com", "api.deepseek.com",
14+
'api.fireworks.ai', 'openrouter.ai', 'api.groq.com', 'api.together.xyz', 'api.mistral.ai', 'api.x.ai')
1415

1516
# %% ../nbs/00_core.ipynb #09571365
1617
def _should_cache(url, doms): return any(dom in str(url) for dom in doms)

nbs/00_core.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@
172172
"outputs": [],
173173
"source": [
174174
"#| exports\n",
175-
"doms = (\"api.openai.com\", \"api.anthropic.com\", \"generativelanguage.googleapis.com\", \"api.deepseek.com\")"
175+
"doms = (\"api.openai.com\", \"api.anthropic.com\", \"generativelanguage.googleapis.com\", \"api.deepseek.com\",\n",
176+
" 'api.fireworks.ai', 'openrouter.ai', 'api.groq.com', 'api.together.xyz', 'api.mistral.ai', 'api.x.ai')"
176177
]
177178
},
178179
{

0 commit comments

Comments
 (0)