@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.cjs
CHANGED
|
@@ -7577,7 +7577,8 @@ function buildOpenAIModelConfig(modelName, temperature, maxTokens, apiToken) {
|
|
|
7577
7577
|
temperature: 1,
|
|
7578
7578
|
maxCompletionTokens: maxTokens,
|
|
7579
7579
|
streaming: true,
|
|
7580
|
-
|
|
7580
|
+
useResponsesApi: true,
|
|
7581
|
+
apiKey: apiToken
|
|
7581
7582
|
};
|
|
7582
7583
|
}
|
|
7583
7584
|
return {
|
|
@@ -7589,7 +7590,7 @@ function buildOpenAIModelConfig(modelName, temperature, maxTokens, apiToken) {
|
|
|
7589
7590
|
},
|
|
7590
7591
|
maxTokens,
|
|
7591
7592
|
streaming: true,
|
|
7592
|
-
|
|
7593
|
+
apiKey: apiToken
|
|
7593
7594
|
};
|
|
7594
7595
|
}
|
|
7595
7596
|
__name(buildOpenAIModelConfig, "buildOpenAIModelConfig");
|