openhorizon-cli 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -102,7 +102,9 @@ async function* streamCompletion(baseUrl, apiKey, model, messages) {
102
102
  headers: {
103
103
  "Content-Type": "application/json",
104
104
  Authorization: `Bearer ${apiKey}`,
105
- "x-api-key": apiKey
105
+ "x-api-key": apiKey,
106
+ "x-client": "openhorizon-cli",
107
+ "x-client-version": "1.0.0"
106
108
  },
107
109
  body: JSON.stringify({ model, messages, stream: true })
108
110
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openhorizon-cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Official CLI for OpenHorizon — chat with AI models directly from your terminal",
5
5
  "type": "module",
6
6
  "bin": {