feat: implement script generation API client function
- Add ScriptSegment, ScriptRequest, and ScriptResponse TypeScript interfaces - Implement generateScript() function to call /api/tts/script endpoint - Update GenerateRequest interface to support optional segments array - Add comprehensive error handling for script generation - Validates Requirements 15.1, 15.2
This commit is contained in:
@@ -389,7 +389,7 @@
|
||||
- Test segment speaker assignments are respected
|
||||
- _Requirements: 15.7_
|
||||
|
||||
- [ ] 20. Implement script generation API client function
|
||||
- [x] 20. Implement script generation API client function
|
||||
- Add generateScript() function to src/api/tts.ts
|
||||
- Define ScriptSegment, ScriptRequest, and ScriptResponse TypeScript interfaces
|
||||
- Implement error handling for script generation
|
||||
|
||||
Reference in New Issue
Block a user