Skip to content

Conversation

Adez017
Copy link
Contributor

@Adez017 Adez017 commented Aug 9, 2025

Hi @sapatevaibhav @thedevyashsaini as discussed in the #35 (comment) i had added the following changes in the project:

  1. Update the welcome message to let user know about context
  2. Updated the cargo dependencies for feature support
  3. Update the command processor to handle the context

I hope this makes the requirements fullfilled.

@Adez017
Copy link
Contributor Author

Adez017 commented Aug 23, 2025

any updates @sapatevaibhav

tauri-plugin-shell = "2"
dirs = "5.0"
chrono = { version = "0.4", features = ["serde"] }
serde = { version = "1.0", features = ["derive"] }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate key for serde

// src-tauri/src/commands/ai.rs
use serde::{Deserialize, Serialize};
use std::sync::{Arc, Mutex};
use tauri::{AppHandle, Manager, State};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unused import: Manager


// Keep only the last N messages to avoid token limit issues
if messages.len() > self.max_messages {
messages.drain(0..messages.len() - self.max_messages);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check if message is mutable or immutable it is giving error

.unwrap_or("No response")
.to_string())
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some issues in this file test it locally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants