explorbot 0.1.30 → 0.1.31
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "explorbot",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.31",
|
|
4
4
|
"description": "CLI app built with React Ink, CodeceptJS, and Playwright",
|
|
5
5
|
"license": "Elastic-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@faker-js/faker": "^10.4.0",
|
|
75
75
|
"@inkjs/ui": "^2.0.0",
|
|
76
76
|
"@langfuse/otel": "^4.5.1",
|
|
77
|
-
"@openrouter/ai-sdk-provider": "^
|
|
77
|
+
"@openrouter/ai-sdk-provider": "^3.0.0",
|
|
78
78
|
"@opentelemetry/api": "^1.9.0",
|
|
79
79
|
"@opentelemetry/auto-instrumentations-node": "^0.67.3",
|
|
80
80
|
"@opentelemetry/instrumentation": "^0.208.0",
|
|
@@ -34,7 +34,7 @@ export class Conversation {
|
|
|
34
34
|
const imageData = image.startsWith('data:') ? image : `data:image/png;base64,${image}`;
|
|
35
35
|
this.messages.push({
|
|
36
36
|
role: 'user',
|
|
37
|
-
content: [{ type: 'image',
|
|
37
|
+
content: [{ type: 'file', mediaType: 'image/png', data: imageData }],
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
40
|
addAssistantText(text) {
|
package/dist/src/ai/provider.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "explorbot",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.31",
|
|
4
4
|
"description": "CLI app built with React Ink, CodeceptJS, and Playwright",
|
|
5
5
|
"license": "Elastic-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@faker-js/faker": "^10.4.0",
|
|
75
75
|
"@inkjs/ui": "^2.0.0",
|
|
76
76
|
"@langfuse/otel": "^4.5.1",
|
|
77
|
-
"@openrouter/ai-sdk-provider": "^
|
|
77
|
+
"@openrouter/ai-sdk-provider": "^3.0.0",
|
|
78
78
|
"@opentelemetry/api": "^1.9.0",
|
|
79
79
|
"@opentelemetry/auto-instrumentations-node": "^0.67.3",
|
|
80
80
|
"@opentelemetry/instrumentation": "^0.208.0",
|
package/src/ai/conversation.ts
CHANGED