- Added permission fields (YaoCreatedBy, YaoUpdatedBy, YaoTeamID, YaoTenantID) to the AssistantModel for better tracking of ownership and access control. - Introduced a custom QueryFilter in the AssistantFilter struct to allow for flexible permission-based filtering of assistants. - Updated the GetAssistants method to apply the custom query filter, improving the retrieval logic based on user permissions. - Enhanced test coverage for the new QueryFilter functionality, ensuring accurate filtering of assistants based on various criteria. |
||
|---|---|---|
| .. | ||
| agent.go | ||
| assistant.go | ||
| filter.go | ||
| types.go | ||