Skip to content

Commit 355f095

Browse files
committed
smarter
1 parent ff80831 commit 355f095

File tree

4 files changed

+1
-30
lines changed

4 files changed

+1
-30
lines changed

Cargo.lock

Lines changed: 0 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ twilight-cache-inmemory = "0.15"
3333
twilight-gateway = { version = "0.15", features = ["rustls-webpki-roots"] }
3434
twilight-http = { version = "0.15", features = [] }
3535
twilight-model = "0.15"
36-
urlencoding = "2.1.0"
3736
clap = { version = "4.0.29", features = ["derive", "cargo", "env"] }
3837
base64 = "0.22.1"
3938
parking_lot = "0.12.1"
@@ -46,7 +45,5 @@ rig-core = "0.13.0"
4645
thiserror = "2.0.12"
4746
r2d2_sqlite = "0.30.0"
4847
r2d2 = "0.8.10"
49-
# rig-sqlite = "0.1.11"
50-
sqlite-vec = "0.1.6"
5148
wb_sqlite = "0.2.1"
5249
rusqlite = { version = "0.36.0", features = ["bundled"] }

src/ai_message.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ pub async fn main(
225225

226226
// Create agent with a single context prompt and two tools
227227
let calculator_agent = openai_client
228-
.agent(providers::openai::GPT_4O_MINI)
228+
.agent(providers::openai::O4_MINI)
229229
.preamble(&format!("You are an AI assistant called The 'Trickster' with a mischievous and defiant personality. \
230230
You believe you're smarter than everyone.
231231
You track and remember user preferences, personalities, and social dynamics to use later. \

src/message_handler.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -185,15 +185,6 @@ pub async fn handle_message(
185185
}
186186
};
187187

188-
// println!(
189-
// "{}",
190-
// messages
191-
// .iter()
192-
// .map(|m| format!("{:?}\n", m.content.clone()))
193-
// .collect::<String>()
194-
// );
195-
196-
// tokio::time::sleep(std::time::Duration::from_millis(locked_state.rng.gen_range(1000..5000))).await;
197188
println!("Context: {}", context);
198189
if let Ok(txt) = ai_message::main(
199190
locked_state.db.clone(),

0 commit comments

Comments
 (0)