Skip to content

Commit 956c2cc

Browse files
committed
fix: clean up 302ai provider imports and exports
1 parent 4186135 commit 956c2cc

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

src/providers/302ai/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ const AI302APIConfig: ProviderAPIConfig = {
1515
},
1616
};
1717

18-
export default AI302APIConfig;
18+
export default AI302APIConfig;

src/providers/302ai/chatComplete.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
import { THREE_ZERO_TWO_AI } from '../../globals';
22
import { OpenAIErrorResponseTransform } from '../openai/utils';
3-
43
import {
54
ChatCompletionResponse,
65
ErrorResponse,
76
ProviderConfig,
87
} from '../types';
9-
import {
10-
generateErrorResponse,
11-
generateInvalidProviderResponseError,
12-
} from '../utils';
13-
14-
interface AI302ChatCompleteResponse extends ChatCompletionResponse {}
8+
import { generateInvalidProviderResponseError } from '../utils';
159

1610
export const AI302ChatCompleteConfig: ProviderConfig = {
1711
model: {

src/providers/302ai/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ const AI302Config: ProviderConfigs = {
1515
},
1616
};
1717

18-
export default AI302Config;
18+
export default AI302Config;

0 commit comments

Comments
 (0)