| 794 | var _ IAIAPIModule = (*imlAIApiModule)(nil) |
| 795 | |
| 796 | type imlAIApiModule struct { |
| 797 | aiAPIService ai_api.IAPIService `autowired:""` |
| 798 | aiAPIUseService ai_api.IAPIUseService `autowired:""` |
| 799 | serviceService service.IServiceService `autowired:""` |
| 800 | aiLocalModelService ai_local.ILocalModelService `autowired:""` |
| 801 | } |
| 802 | |
| 803 | func (i *imlAIApiModule) APIs(ctx context.Context, keyword string, providerId string, start int64, end int64, page int, pageSize int, sortCondition string, asc bool, models []string, serviceIds []string) ([]*ai_dto.APIItem, *ai_dto.Condition, int64, error) { |
| 804 | modelItems := make([]*ai_dto.BasicInfo, 0) |
nothing calls this directly
no outgoing calls
no test coverage detected