mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
[apps] Add thread_id param to optionally load thread config for apps feature check. (#11279)
- [x] Add thread_id param to optionally load thread config for apps feature check
This commit is contained in:
committed by
GitHub
Unverified
parent
503186b31f
commit
005e040f97
@@ -488,6 +488,10 @@ impl Codex {
|
||||
pub(crate) fn state_db(&self) -> Option<state_db::StateDbHandle> {
|
||||
self.session.state_db()
|
||||
}
|
||||
|
||||
pub(crate) fn enabled(&self, feature: Feature) -> bool {
|
||||
self.session.enabled(feature)
|
||||
}
|
||||
}
|
||||
|
||||
/// Context for an initialized model agent
|
||||
|
||||
Reference in New Issue
Block a user