This commit is contained in:
2025-07-16 10:08:43 +09:00
parent 69182a1bf8
commit 16d724ec25
56 changed files with 6 additions and 7121 deletions

View File

@@ -160,6 +160,7 @@ impl ProfileFetcher {
}
/// Generate profile URL for a given DID and PDS
#[allow(dead_code)]
pub fn generate_profile_url(did: &str, pds: &str) -> String {
let network_config = Self::get_network_config(pds);
match pds {
@@ -169,6 +170,7 @@ impl ProfileFetcher {
}
/// Convert Profile to JSON format used by the application
#[allow(dead_code)]
pub fn profile_to_json(&self, profile: &Profile, _pds: &str) -> Value {
serde_json::json!({
"did": profile.did,

View File

@@ -608,7 +608,7 @@ async fn get_ai_profile(_client: &reqwest::Client, config: &AuthConfig) -> Resul
async fn check_for_duplicates(
client: &reqwest::Client,
config: &AuthConfig,
conversation: &[ConversationPair],
_conversation: &[ConversationPair],
_url: &str,
) -> Result<()> {
// Simple check - just get recent records to warn about potential duplicates