yao/openapi/agent
Max bed36b754f Enhance assistant model and query handling
- 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.
2025-11-08 10:25:28 +08:00
..
agent.go Enhance assistant model and query handling 2025-11-08 10:25:28 +08:00
assistant.go Enhance assistant model and query handling 2025-11-08 10:25:28 +08:00
filter.go Enhance assistant model and query handling 2025-11-08 10:25:28 +08:00
types.go Enhance assistant model and query handling 2025-11-08 10:25:28 +08:00