Skip to content

Commit c425b47

Browse files
committed
address greptile comments
1 parent 25575d9 commit c425b47

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

apps/docs/content/docs/en/enterprise/index.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,3 @@ curl -X POST https://your-instance/api/v1/admin/organizations/{orgId}/members \
9090
### Notes
9191

9292
- Enabling `ACCESS_CONTROL_ENABLED` automatically enables organizations, as access control requires organization membership.
93-
- BYOK is only available on hosted Sim Studio. Self-hosted deployments configure AI provider keys directly via environment variables.

apps/sim/app/api/workspaces/[id]/byok-keys/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export async function GET(request: NextRequest, { params }: { params: Promise<{
9797
})
9898
)
9999

100-
return NextResponse.json({ keys: formattedKeys, byokEnabled: true })
100+
return NextResponse.json({ keys: formattedKeys })
101101
} catch (error: unknown) {
102102
logger.error(`[${requestId}] BYOK keys GET error`, error)
103103
return NextResponse.json(

apps/sim/hooks/queries/byok-keys.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ export interface BYOKKey {
1717

1818
export interface BYOKKeysResponse {
1919
keys: BYOKKey[]
20-
byokEnabled: boolean
2120
}
2221

2322
export const byokKeysKeys = {
@@ -33,7 +32,6 @@ async function fetchBYOKKeys(workspaceId: string): Promise<BYOKKeysResponse> {
3332
const data = await response.json()
3433
return {
3534
keys: data.keys ?? [],
36-
byokEnabled: data.byokEnabled ?? true,
3735
}
3836
}
3937

0 commit comments

Comments
 (0)