AHGGG / poe-node-api

A reverse engineered Node.js client for Quora's Poe.
MIT License
38 stars 5 forks source link

Not working #8

Closed MrlolDev closed 1 year ago

MrlolDev commented 1 year ago

Error: ``` fetch: https://poe.com, options: { method: 'GET', headers: { cookie: 'p-b=5Zcy9-%3D%3D' } } fetch: https://poe.com/_next/data/vV4vHhyH3i9fz-iA02t-2/Sage.json, options: { method: 'GET', headers: { cookie: 'p-b=5Zcy9-%3D%3D' } } fetch: https://poe.com/_next/data/vV4vHhyH3i9fz-iA02t-2/GPT-4.json, options: { method: 'GET', headers: { cookie: 'p-b=5Zcy9-%3D%3D' } } fetch: https://poe.com/_next/data/vV4vHhyH3i9fz-iA02t-2/Claude+.json, options: { method: 'GET', headers: { cookie: 'p-b=5Zcy9-' } } fetch: https://poe.com/_next/data/vV4vHhyH3i9fz-iA02t-2/undefined.json, options: { method: 'GET', headers: { cookie: 'p-b=5Zcy9-%%3D' } } fetch failed: https://poe.com/_next/data/vV4vHhyH3i9fz-iA02t-2/undefined.json, 404, Not Found retrying https://poe.com/_next/data/vV4vHhyH3i9fz-iA02t-2/undefined.json, 1/5...22 fetch failed: https://poe.com/_next/data/vV4vHhyH3i9fz-iA02t-2/undefined.json, 404, Not Found retrying https://poe.com/_next/data/vV4vHhyH3i9fz-iA02t-2/undefined.json, 2/5...25 fetch failed: https://poe.com/_next/data/vV4vHhyH3i9fz-iA02t-2/undefined.json, 404, Not Found retrying https://poe.com/_next/data/vV4vHhyH3i9fz-iA02t-2/undefined.json, 3/5...27 fetch failed: https://poe.com/_next/data/vV4vHhyH3i9fz-iA02t-2/undefined.json, 404, Not Found retrying https://poe.com/_next/data/vV4vHhyH3i9fz-iA02t-2/undefined.json, 4/5...30 fetch failed: https://poe.com/_next/data/vV4vHhyH3i9fz-iA02t-2/undefined.json, 404, Not Found retrying https://poe.com/_next/data/vV4vHhyH3i9fz-iA02t-2/undefined.json, 5/5...32 fetch failed: https://poe.com/_next/data/vV4vHhyH3i9fz-iA02t-2/undefined.json, 404, Not Found Error: Failed to fetch https://poe.com/_next/data/vV4vHhyH3i9fz-iA02t-2/undefined.json after 5 retries at file:///D:/projects/loick.team/projects/turing/dev/turing/turing-ai-api/node_modules/poe-node-api/dist/PoeClient.js:93:24 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

AHGGG commented 1 year ago

try clone repo, use branch dev. Fixed but not update to npm. If you still meet undefined error, please let me know~

MrlolDev commented 1 year ago

can you please update to npm?

MrlolDev commented 1 year ago

is just 2mins and will reduce a lot my work

AHGGG commented 1 year ago

is just 2mins and will reduce a lot my work

Ok, just give me five minutes. I just turned off the computer.

MrlolDev commented 1 year ago

yes please

AHGGG commented 1 year ago

yes please

try 0.0.5 I'm going to sleep. If you still meet undefined error, please let me know~

awwmey commented 1 year ago

this error still occurs for me

code:

let client = new PoeClient({ debug: false });
await client.init();

await client.sendMessage(
  "write c++ code for finding the largest increasing subsequence",
  "a2",
  false,
  (result) => {
    console.log(result);
  }
);
AHGGG commented 1 year ago

this error still occurs for me

code:

let client = new PoeClient({ debug: false });
await client.init();

await client.sendMessage(
  "write c++ code for finding the largest increasing subsequence",
  "a2",
  false,
  (result) => {
    console.log(result);
  }
);

Try version 0.0.6.