Skip to content

Commit 2679d94

Browse files
committed
fix: Do not use dotenv in production
1 parent 595533e commit 2679d94

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI
1+
name: Docs
22

33
on:
44
pull_request:

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI
1+
name: Lint
22

33
on:
44
pull_request:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI
1+
name: Test
22

33
on:
44
pull_request:

src/handlers/anthropic.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import {
1212
ToolUseBlock,
1313
ToolUseBlockParam,
1414
} from '@anthropic-ai/sdk/resources/messages'
15-
import * as dotenv from 'dotenv'
1615
import { ChatCompletionMessageToolCall } from 'openai/resources/index'
1716

1817
import {
@@ -34,8 +33,6 @@ import {
3433
isEmptyObject,
3534
} from './utils'
3635

37-
dotenv.config()
38-
3936
export const createCompletionResponseNonStreaming = (
4037
response: Message,
4138
created: number,

0 commit comments

Comments
 (0)