mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
fix: handle NoneType request_overrides in fast_mode check (#7350)
This commit is contained in:
parent
360b21ce95
commit
0bea603510
1 changed files with 1 additions and 1 deletions
|
|
@ -5602,7 +5602,7 @@ class AIAgent:
|
|||
preserve_dots=self._anthropic_preserve_dots(),
|
||||
context_length=ctx_len,
|
||||
base_url=getattr(self, "_anthropic_base_url", None),
|
||||
fast_mode=self.request_overrides.get("speed") == "fast",
|
||||
fast_mode=(self.request_overrides or {}).get("speed") == "fast",
|
||||
)
|
||||
|
||||
if self.api_mode == "codex_responses":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue