mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-26 06:01:49 +00:00
fix guard
This commit is contained in:
parent
528bba6734
commit
057fc7b073
1 changed files with 1 additions and 1 deletions
|
|
@ -1350,7 +1350,7 @@ def _resolve_nous_context_length(model: str) -> Optional[int]:
|
||||||
ctx = entry.get("context_length")
|
ctx = entry.get("context_length")
|
||||||
if ctx is None:
|
if ctx is None:
|
||||||
return None
|
return None
|
||||||
if ctx == 32768 and _model_name_suggests_kimi(or_id):
|
if ctx <= 32768 and _model_name_suggests_kimi(or_id):
|
||||||
logger.info(
|
logger.info(
|
||||||
"Rejecting OpenRouter metadata context=%s for %r "
|
"Rejecting OpenRouter metadata context=%s for %r "
|
||||||
"(Kimi-family underreport, Nous path); falling through to hardcoded defaults",
|
"(Kimi-family underreport, Nous path); falling through to hardcoded defaults",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue