@kortyx/openrouter 0.1.0 → 0.2.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/CHANGELOG.md +15 -0
- package/README.md +2 -2
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @kortyx/openrouter
|
|
2
2
|
|
|
3
|
+
## [0.2.1](https://github.com/kortyx-io/kortyx/compare/openrouter-v0.2.0...openrouter-v0.2.1) (2026-09-24)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **openrouter:** disable strict tool schemas by default ([#241](https://github.com/kortyx-io/kortyx/issues/241)) ([ef3e53a](https://github.com/kortyx-io/kortyx/commit/ef3e53ac4f76cea84f54eb0e27ab787dd62eedc6))
|
|
9
|
+
|
|
10
|
+
## [0.2.0](https://github.com/kortyx-io/kortyx/compare/openrouter-v0.1.0...openrouter-v0.2.0) (2026-09-23)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **chat:** add server-side transcript lifecycle hooks ([#240](https://github.com/kortyx-io/kortyx/issues/240)) ([f84a674](https://github.com/kortyx-io/kortyx/commit/f84a6749819ee7bab343efb03f38eae743de0655))
|
|
16
|
+
* **providers:** add OpenRouter and Jev support ([#230](https://github.com/kortyx-io/kortyx/issues/230)) ([7a6ac2c](https://github.com/kortyx-io/kortyx/commit/7a6ac2c2171850fa89f041e66c980521409e6819))
|
|
17
|
+
|
|
3
18
|
## 0.1.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -28,8 +28,8 @@ import { createOpenRouter } from "@kortyx/openrouter";
|
|
|
28
28
|
|
|
29
29
|
export const openrouter = createOpenRouter({
|
|
30
30
|
apiKey: process.env.OPENROUTER_API_KEY,
|
|
31
|
-
appTitle: "
|
|
32
|
-
httpReferer: "https://
|
|
31
|
+
appTitle: "Example Chat App",
|
|
32
|
+
httpReferer: "https://example.com",
|
|
33
33
|
});
|
|
34
34
|
```
|
|
35
35
|
|
package/dist/index.cjs
CHANGED
|
@@ -5481,7 +5481,8 @@ var toTool = (tool) => ({
|
|
|
5481
5481
|
function: {
|
|
5482
5482
|
name: tool.name,
|
|
5483
5483
|
...tool.description ? { description: tool.description } : {},
|
|
5484
|
-
parameters: isRecord(tool.inputSchema) ? tool.inputSchema : {}
|
|
5484
|
+
parameters: isRecord(tool.inputSchema) ? tool.inputSchema : {},
|
|
5485
|
+
strict: false
|
|
5485
5486
|
}
|
|
5486
5487
|
});
|
|
5487
5488
|
var createChatRequest = (modelId, messages, options, stream) => {
|