File tree Expand file tree Collapse file tree 2 files changed +10
-61
lines changed Expand file tree Collapse file tree 2 files changed +10
-61
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
import { ProviderConfigs } from '../types' ;
2
2
import NscaleAPIConfig from './api' ;
3
- import { NscaleChatCompleteConfig } from './chatComplete' ;
4
3
import {
5
4
NscaleImageGenerateConfig ,
6
5
NscaleImageGenerateResponseTransform ,
7
6
} from './imageGenerate' ;
8
7
import { responseTransformers } from '../open-ai-base' ;
9
8
import { NSCALE } from '../../globals' ;
9
+ import { chatCompleteParams } from '../open-ai-base' ;
10
10
11
11
const NscaleConfig : ProviderConfigs = {
12
- chatComplete : NscaleChatCompleteConfig ,
12
+ chatComplete : chatCompleteParams ( [
13
+ 'functions' ,
14
+ 'function_call' ,
15
+ 'user' ,
16
+ 'seed' ,
17
+ 'tools' ,
18
+ 'tool_choice' ,
19
+ 'stream_options' ,
20
+ ] ) ,
13
21
imageGenerate : NscaleImageGenerateConfig ,
14
22
api : NscaleAPIConfig ,
15
23
responseTransforms : {
You can’t perform that action at this time.
0 commit comments