mirror of
https://github.com/Alishahryar1/free-claude-code.git
synced 2026-04-28 11:30:03 +00:00
Improved optimizations to decrease llm calls further and increase throughput
This commit is contained in:
parent
593fb55954
commit
e7ac85264f
5 changed files with 53 additions and 4 deletions
|
|
@ -81,7 +81,12 @@ def test_error_fallbacks():
|
|||
RateLimitError,
|
||||
)
|
||||
|
||||
base_payload = {"model": "test", "messages": [], "max_tokens": 10, "stream": True}
|
||||
base_payload = {
|
||||
"model": "test",
|
||||
"messages": [{"role": "user", "content": "Hi"}],
|
||||
"max_tokens": 10,
|
||||
"stream": True,
|
||||
}
|
||||
|
||||
def _raise_auth(*args, **kwargs):
|
||||
raise AuthenticationError("Invalid Key")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue