malvin 0.2.7

Non-interactive research and coding agent
1
2
3
4
5
6
use std::sync::{Mutex, OnceLock};

pub(crate) fn local_llm_test_env_lock() -> &'static Mutex<()> {
    static LOCK: OnceLock<Mutex<()>> = OnceLock::new();
    LOCK.get_or_init(|| Mutex::new(()))
}