hero_agent_server uses removed herolib_ai APIs (TranscriptionModel, AiClient::from_env) #24
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_agent#24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
cargo buildfails:Neither
TranscriptionModelnorAiClient::from_env()exists in currentherolib_ai.Fix: migrate the two call sites in
crates/hero_agent_server/src/routes.rsto the current API.Fixed in
7309482— migrated routes.rs:1266/1322 off removedTranscriptionModelandAiClient::from_env. Now usesAiClient::default_socket().await+"whisper-large-v3-turbo"model string. Async call bridged into the existing spawn_blocking via Handle::current().block_on().