- 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 | ||
| dsl | ||
| file | ||
| hello | ||
| kb | ||
| oauth | ||
| testutils | ||
| user | ||
| config_test.go | ||
| openapi_test.go | ||