wuchale 0.18.9 → 0.18.11
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/ai/gemini.js +1 -1
- package/dist/handler.js +3 -0
- package/package.json +1 -1
package/dist/ai/gemini.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const url = 'https://generativelanguage.googleapis.com/v1beta/models/gemini-2.
|
|
1
|
+
const url = 'https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent';
|
|
2
2
|
const headers = { 'Content-Type': 'application/json' };
|
|
3
3
|
function prepareData(content, instruction, think) {
|
|
4
4
|
return {
|
package/dist/handler.js
CHANGED
|
@@ -269,6 +269,9 @@ export class AdapterHandler {
|
|
|
269
269
|
if (!isAbsolute(catalog)) {
|
|
270
270
|
catalog = normalize(`${this.#projectRoot}/${catalog}`);
|
|
271
271
|
}
|
|
272
|
+
if (platform === 'win32') {
|
|
273
|
+
catalog = catalog.replaceAll('\\', '/');
|
|
274
|
+
}
|
|
272
275
|
return catalog;
|
|
273
276
|
};
|
|
274
277
|
#initFiles = async () => {
|