mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-27 21:08:00 +00:00
Co-authored-by: Steven Enamakel <enamakel@tinyhumans.ai>
This commit is contained in:
co-authored by
Steven Enamakel
parent
3e6ca41d7b
commit
c0f6e39b3e
@@ -38,7 +38,6 @@ pub const DEFAULT_TIMEOUT_MS: u64 = 10_000;
|
||||
pub struct OllamaEmbedder {
|
||||
endpoint: String,
|
||||
model: String,
|
||||
#[allow(dead_code)]
|
||||
timeout: Duration,
|
||||
client: reqwest::Client,
|
||||
}
|
||||
|
||||
@@ -117,7 +117,7 @@ impl EventHandler for WebhookRequestSubscriber {
|
||||
// Spawn the triage pipeline so we don't block the
|
||||
// broadcast channel's dispatch task during LLM calls.
|
||||
let corr = correlation_id.clone();
|
||||
let skill = reg.agent_id.clone().or_else(|| Some(reg.skill_id.clone()));
|
||||
let _skill = reg.agent_id.clone().or_else(|| Some(reg.skill_id.clone()));
|
||||
tokio::spawn(async move {
|
||||
let result =
|
||||
tokio::time::timeout(std::time::Duration::from_secs(60), async {
|
||||
|
||||
Reference in New Issue
Block a user