use std::cell::RefCell;
use std::path::PathBuf;
thread_local! {
static TEST_QWEN_HOME: RefCell<Option<PathBuf>> = const { RefCell::new(None) };
}
pub(crate) fn set_test_qwen_home(home: Option<PathBuf>) {
TEST_QWEN_HOME.with(|cell| *cell.borrow_mut() = home);
}
pub(crate) fn qwen_home_override() -> Option<PathBuf> {
TEST_QWEN_HOME.with(|cell| cell.borrow().clone())
}