@flutchai/flutch-sdk 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7547,7 +7547,8 @@ function buildOpenAIModelConfig(modelName, temperature, maxTokens, apiToken) {
|
|
|
7547
7547
|
temperature: 1,
|
|
7548
7548
|
maxCompletionTokens: maxTokens,
|
|
7549
7549
|
streaming: true,
|
|
7550
|
-
|
|
7550
|
+
useResponsesApi: true,
|
|
7551
|
+
apiKey: apiToken
|
|
7551
7552
|
};
|
|
7552
7553
|
}
|
|
7553
7554
|
return {
|
|
@@ -7559,7 +7560,7 @@ function buildOpenAIModelConfig(modelName, temperature, maxTokens, apiToken) {
|
|
|
7559
7560
|
},
|
|
7560
7561
|
maxTokens,
|
|
7561
7562
|
streaming: true,
|
|
7562
|
-
|
|
7563
|
+
apiKey: apiToken
|
|
7563
7564
|
};
|
|
7564
7565
|
}
|
|
7565
7566
|
__name(buildOpenAIModelConfig, "buildOpenAIModelConfig");
|