fix(server): add hero_proxy support via web_v1.sock and dual route registration #46
No reviewers
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_aibroker!46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_hero_proxy_rest_support"
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?
Summary
web_v1.sockproxy socket alongside existingrest.sockfor hero_proxy routing/hero_aibroker/v1) and/v1prefix (for direct socket access)wavformat and truncate input for Groq Orpheus TTS backendRelated Issue
Closes #45
Changes
crates/hero_aibroker_server/src/main.rs-- addedproxy_socket_path()forweb_v1.sock, server binds both socketscrates/hero_aibroker_server/src/api/mod.rs-- split API routes intov1_routes, registered at root via.merge()and under/v1via.nest()crates/hero_aibroker_lib/src/service/tts.rs-- Groq backends forcewavformat, truncate input to 1000 charsTest Results