refactor(agent): fire_and_forget helper, drop dead default_model + compact_percent fallback, fix stale comment
This commit is contained in:
parent
9721be7bc3
commit
77f31b44bb
3 changed files with 27 additions and 34 deletions
|
|
@ -466,12 +466,6 @@ pub fn configured_model() -> Option<&'static str> {
|
|||
.map(|s| &*Box::leak(s.into_boxed_str()))
|
||||
}
|
||||
|
||||
/// Return the model to use when no config and no persisted override exist.
|
||||
#[must_use]
|
||||
pub fn default_model() -> &'static str {
|
||||
configured_model().unwrap_or(DEFAULT_MODEL)
|
||||
}
|
||||
|
||||
/// Compiled-in fallback effort level — matches the `effortLevel` baked
|
||||
/// into `prompts/claude-settings.json`.
|
||||
pub const DEFAULT_EFFORT: &str = "medium";
|
||||
|
|
|
|||
Loading…
Reference in a new issue