MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / APIItem

Struct APIItem

module/ai-api/dto/output.go:52–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52type APIItem struct {
53 Id string `json:"id"`
54 Name string `json:"name"`
55 ModelType ModelType `json:"model_type"`
56 RequestPath string `json:"request_path"`
57 Description string `json:"description"`
58 Disable bool `json:"disabled"`
59 Creator auto.Label `json:"creator" aolabel:"user"`
60 Updater auto.Label `json:"updater" aolabel:"user"`
61 CreateTime auto.TimeLabel `json:"create_time"`
62 UpdateTime auto.TimeLabel `json:"update_time"`
63 Provider ProviderItem `json:"provider"`
64 Model ModelItem `json:"model"`
65}
66
67type ModelItem struct {
68 Id string `json:"id"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected