feat: real service test endpoints (proxy 7-route round-trip, core/chat/vlm/markbase/embedding), unified log paths + errorLog, pipeline tools/import/export/folder APIs, face pipeline check, dynamic concurrency tuning
This commit is contained in:
@@ -351,6 +351,7 @@ impl FileProfile {
|
||||
let path = Self::profile_path(output_dir, &self.file_uuid);
|
||||
let json =
|
||||
serde_json::to_string_pretty(self).context("Failed to serialize file profile")?;
|
||||
let json = crate::core::json_debug::append_debug_footer(json, &path);
|
||||
std::fs::write(&path, json)
|
||||
.with_context(|| format!("Failed to write profile to {}", path.display()))?;
|
||||
tracing::debug!("[FileProfile] Saved profile for {}", self.file_uuid);
|
||||
@@ -670,6 +671,7 @@ impl FaceTraceProfile {
|
||||
let json = serde_json::to_string_pretty(&round_json_value(&serde_json::to_value(&*self)?))
|
||||
.context("Failed to serialize FaceTraceProfile")?;
|
||||
let profile_path = Self::profile_path(output_dir, &self.file_uuid, self.trace_id);
|
||||
let json = crate::core::json_debug::append_debug_footer(json, &profile_path);
|
||||
std::fs::write(&profile_path, json)
|
||||
.with_context(|| format!("Failed to write {}", profile_path.display()))?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user