feat(server): expose auto param in session.summarize for plugins (#5924)

This commit is contained in:
YeonGyu-Kim 2025-12-22 12:05:30 +09:00 committed by GitHub
commit b906f2de88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 9 additions and 1 deletions

View file

@ -1132,6 +1132,7 @@ export class Session extends HeyApiClient {
directory?: string
providerID?: string
modelID?: string
auto?: boolean
},
options?: Options<never, ThrowOnError>,
) {
@ -1144,6 +1145,7 @@ export class Session extends HeyApiClient {
{ in: "query", key: "directory" },
{ in: "body", key: "providerID" },
{ in: "body", key: "modelID" },
{ in: "body", key: "auto" },
],
},
],

View file

@ -2750,6 +2750,7 @@ export type SessionSummarizeData = {
body?: {
providerID: string
modelID: string
auto?: boolean
}
path: {
/**