Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

fix(claude): ignore 'inherit' model value from agent frontmatter

cyhhaoea99819048f9
diff --git a/core/handlers/session_handler.py b/core/handlers/session_handler.py
index 2d6b96cc4..57e67b89e 100644
--- a/core/handlers/session_handler.py
+++ b/core/handlers/session_handler.py
@@ -156,6 +156,10 @@ class SessionHandler:
else:
logger.warning(f"Could not load agent file for '{effective_agent}'")
+ # Filter out special values that aren't actual model names
+ if agent_model and agent_model.lower() in ("inherit", ""):
+ agent_model = None
+
# Determine final model: explicit override > agent frontmatter > global default
effective_model = explicit_model or agent_model or self.config.claude.default_model