mirror of
https://github.com/hex248/sprint.git
synced 2026-02-07 18:23:03 +00:00
/ai/models route
This commit is contained in:
@@ -27,6 +27,7 @@ import {
|
||||
IssuesTypeCountQuerySchema,
|
||||
IssueUpdateRequestSchema,
|
||||
LoginRequestSchema,
|
||||
ModelsResponseSchema,
|
||||
OrgAddMemberRequestSchema,
|
||||
OrganisationMemberRecordSchema,
|
||||
OrganisationMemberResponseSchema,
|
||||
@@ -696,6 +697,15 @@ export const apiContract = c.router({
|
||||
404: ApiErrorSchema,
|
||||
},
|
||||
},
|
||||
aiModels: {
|
||||
method: "GET",
|
||||
path: "/ai/models",
|
||||
responses: {
|
||||
200: ModelsResponseSchema,
|
||||
400: ApiErrorSchema,
|
||||
404: ApiErrorSchema,
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
export type ApiContract = typeof apiContract;
|
||||
|
||||
Reference in New Issue
Block a user