Skip to content

Commit a0dfef7

Browse files
committed
chore: minor cleanuo
1 parent 82591b3 commit a0dfef7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/providers/openai/api.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import { ProviderAPIConfig } from '../types';
22

33
const OpenAIAPIConfig: ProviderAPIConfig = {
4-
getBaseURL: () => {
5-
return 'https://api.openai.com/v1';
6-
},
4+
getBaseURL: () => 'https://api.openai.com/v1',
75
headers: ({ providerOptions, fn }) => {
86
const headersObj: Record<string, string> = {
97
Authorization: `Bearer ${providerOptions.apiKey}`,

0 commit comments

Comments
 (0)