yao/agent/assistant/hook
Max e0f69368fb Refactor assistant creation handling and response types
- Updated the Create method in the Script type to return a structured HookCreateResponse instead of the previous ResponseHookCreate.
- Enhanced the getHookCreateResponse method to handle various response scenarios, including nil and undefined results.
- Refactored context types to introduce the new HookCreateResponse structure, which includes fields for messages, audio configuration, generation parameters, and metadata.
- Adjusted related methods in the Assistant to ensure compatibility with the new response structure.
2025-11-13 18:27:15 +08:00
..
create.go Refactor assistant creation handling and response types 2025-11-13 18:27:15 +08:00
create_test.go Refactor assistant creation handling and response types 2025-11-13 18:27:15 +08:00
done.go Refactor Assistant methods and context handling for improved functionality 2025-11-13 09:26:45 +08:00
failback.go Refactor Assistant methods and context handling for improved functionality 2025-11-13 09:26:45 +08:00
hook.go Refactor Assistant methods and context handling for improved functionality 2025-11-13 09:26:45 +08:00
mcp.go Refactor Assistant methods and context handling for improved functionality 2025-11-13 09:26:45 +08:00
script.go Add Execute method to Script type for enhanced script execution 2025-11-13 11:42:36 +08:00
types.go Refactor Assistant methods and context handling for improved functionality 2025-11-13 09:26:45 +08:00