mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
feat(hub,web): support custom Claude models via settings.json (customClaudeModels)
This commit is contained in:
@@ -198,6 +198,10 @@ export class ApiClient {
|
||||
return await this.request<PushVapidPublicKeyResponse>('/api/push/vapid-public-key')
|
||||
}
|
||||
|
||||
async getClaudeCustomModels(): Promise<{ models: string[] }> {
|
||||
return await this.request<{ models: string[] }>('/api/claude/custom-models')
|
||||
}
|
||||
|
||||
async subscribePushNotifications(payload: PushSubscriptionPayload): Promise<void> {
|
||||
await this.request('/api/push/subscribe', {
|
||||
method: 'POST',
|
||||
|
||||
Reference in New Issue
Block a user