Skip to content

Commit fb762a0

Browse files
committed
Remove unused ANTHROPIC_API_KEY from config and DEPLOY.md
1 parent 55905e3 commit fb762a0

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

DEPLOY.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ ow <space> env set openworkers-api-env JWT_ACCESS_SECRET --secret
115115
| `GITHUB_CLIENT_ID` | var | no | GitHub OAuth app client ID |
116116
| `GITHUB_CLIENT_SECRET` | secret | no | GitHub OAuth app client secret |
117117
| `MISTRAL_API_KEY` | secret | no | Mistral AI API key |
118-
| `ANTHROPIC_API_KEY` | secret | no | Anthropic API key |
119118
| `SHARED_STORAGE_BUCKET` | var | no | S3 bucket name |
120119
| `SHARED_STORAGE_ENDPOINT` | var | no | S3 endpoint URL |
121120
| `SHARED_STORAGE_ACCESS_KEY_ID` | secret | no | S3 access key |

src/lib/config/index.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,6 @@ const ConfigSchema = z.object({
8383
apiKey: z.string().optional()
8484
}),
8585

86-
anthropic: z.object({
87-
apiKey: z.string().optional()
88-
}),
89-
9086
// Email provider (verification, password reset)
9187
email: z.object({
9288
provider: z.enum(['scaleway']).optional(),
@@ -139,9 +135,6 @@ function loadConfig(): Config {
139135
mistral: {
140136
apiKey: getEnv('MISTRAL_API_KEY')
141137
},
142-
anthropic: {
143-
apiKey: getEnv('ANTHROPIC_API_KEY')
144-
},
145138
email: {
146139
provider: getEnv('EMAIL_PROVIDER'),
147140
from: getEnv('EMAIL_FROM'),
@@ -193,7 +186,6 @@ function buildConfig(): Config {
193186
sharedStorage: {},
194187
email: {},
195188
mistral: {},
196-
anthropic: {},
197189
appUrl: 'http://localhost:4200'
198190
} as Config;
199191
}
@@ -202,4 +194,4 @@ function buildConfig(): Config {
202194
export const config: Config = building ? buildConfig() : loadConfig();
203195

204196
// Export individual sections for convenience
205-
export const { nodeEnv, port, jwt, github, postgate, sharedStorage, mistral, anthropic, email, appUrl } = config;
197+
export const { nodeEnv, port, jwt, github, postgate, sharedStorage, mistral, email, appUrl } = config;

0 commit comments

Comments
 (0)