Skip to content

Commit

Permalink
Add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
AurevoirXavier committed Jul 24, 2024
1 parent b6bd5b3 commit 5516c0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/service/chat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ pub type ChatArgs = (Function, String, bool);
pub struct Chat {
pub tx: Sender<ChatArgs>,
to_interrupt: ArtBool,
// TODO?: get rid of the `Mutex`.
// TODO: https://github.com/hack-ink/AiR/issues/117.
openai: Arc<Mutex<OpenAi>>,
// TODO: https://github.com/hack-ink/AiR/issues/117.
chat_setting: Arc<Mutex<ChatSetting>>,
abort_handle: AbortHandle,
}
Expand Down
1 change: 1 addition & 0 deletions src/service/hotkey.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ use crate::{
pub struct Hotkey {
// The global hokey manager need to be kept alive during the whole program life.
ghk: GlobalHotKeyManager,
// TODO: https://github.com/hack-ink/AiR/issues/117.
inner: Arc<RwLock<Manager>>,
abort: ArtBool,
}
Expand Down

0 comments on commit 5516c0e

Please sign in to comment.