- Added a new GetAssistant function to retrieve assistant details by ID, incorporating permission checks to ensure authorized access. - Updated the assistant route to use the new GetAssistant handler, enhancing security by verifying user permissions before returning assistant data. - Introduced a FilterBuiltInAssistant function to clear sensitive fields for built-in assistants, ensuring compliance with data protection standards. - Enhanced test coverage for the GetAssistant functionality, including tests for successful retrieval, permission filtering, and error handling scenarios. |
||
|---|---|---|
| .. | ||
| agent.go | ||
| assistant.go | ||
| filter.go | ||
| types.go | ||