Skip to content

Commit

Permalink
fix(api): expose hasCapability method in client API
Browse files Browse the repository at this point in the history
  • Loading branch information
Sma1lboy committed Jan 27, 2025
1 parent b682ee4 commit 43eca59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clients/tabby-chat-panel/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,8 @@ export async function createServer(api: ServerApi): Promise<ClientApi> {
for (const method of clientMethods) {
clientApi[method] = thread[method]
}
// hasCapability is not exposed from client
clientApi.hasCapability = thread.hasCapability

return clientApi
}

0 comments on commit 43eca59

Please sign in to comment.