@pollinations/cli 0.1.31 → 0.1.32

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.js CHANGED
@@ -14,7 +14,7 @@ var init_package = __esm({
14
14
  "package.json"() {
15
15
  package_default = {
16
16
  name: "@pollinations/cli",
17
- version: "0.1.31",
17
+ version: "0.1.32",
18
18
  description: "The Pollinations CLI \u2014 for humans, AI agents, and everything in between",
19
19
  type: "module",
20
20
  bin: {
@@ -1125,6 +1125,7 @@ Examples:
1125
1125
 
1126
1126
  // src/commands/gen/chat.ts
1127
1127
  init_api();
1128
+ init_client();
1128
1129
  init_config();
1129
1130
  import { writeFileSync as writeFileSync3 } from "fs";
1130
1131
  import { createInterface as createInterface2 } from "readline";
@@ -1228,7 +1229,8 @@ Chat session started (model: ${opts.model ?? "API default"})
1228
1229
  method: "POST",
1229
1230
  headers: {
1230
1231
  "Content-Type": "application/json",
1231
- Authorization: `Bearer ${key}`
1232
+ Authorization: `Bearer ${key}`,
1233
+ "X-Polli-Client": POLLI_CLIENT
1232
1234
  },
1233
1235
  body: JSON.stringify(body)
1234
1236
  });