diff options
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | config.example.yaml | 2 | ||||
| -rw-r--r-- | src/config/mod.rs | 2 | ||||
| -rw-r--r-- | src/repl/mod.rs | 2 |
4 files changed, 5 insertions, 5 deletions
@@ -142,11 +142,11 @@ aichat -e install nvim # Execute aichat -c fibonacci in js # Code aichat -s # REPL + New session -aichat -s sesson1 # REPL + New/Reuse 'session1' +aichat -s session1 # REPL + New/Reuse 'session1' aichat --info # System info aichat -r role1 --info # Role info -aichat -s sesson1 --info # Session info +aichat -s session1 --info # Session info cat data.toml | aichat -c to json > data.json # Pipe IO diff --git a/config.example.yaml b/config.example.yaml index 2d3c58f..429cdf9 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -36,7 +36,7 @@ clients: # See https://ai.google.dev/docs - type: gemini - api_key: AIxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx + api_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # See https://docs.anthropic.com/claude/reference/getting-started-with-the-api - type: claude diff --git a/src/config/mod.rs b/src/config/mod.rs index ffdb942..d616f65 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -1000,7 +1000,7 @@ impl State { ] } - pub fn notin_session() -> Vec<Self> { + pub fn not_in_session() -> Vec<Self> { let excludes: HashSet<_> = Self::in_session().into_iter().collect(); Self::all() .into_iter() diff --git a/src/repl/mod.rs b/src/repl/mod.rs index 6ce52f2..4c5540c 100644 --- a/src/repl/mod.rs +++ b/src/repl/mod.rs @@ -35,7 +35,7 @@ lazy_static! { ReplCommand::new( ".session", "Start a context-aware chat session", - State::notin_session(), + State::not_in_session(), ), ReplCommand::new(".info session", "Show session info", State::in_session(),), ReplCommand::new( |
