realcoloride / node_characterai

Unofficial Character AI wrapper for node.
https://beta.character.ai/
341 stars 72 forks source link

What is the maximum allowable amount of bots I can upload at once? #94

Closed bazhenberg closed 11 months ago

bazhenberg commented 12 months ago

Hello! What is the maximum allowable amount of bots I can upload at once? I'm trying to upload 25 bots at once and I'm getting an error. If there are fewer of them, there are no problems

realcoloride commented 12 months ago

Hello,

What do you mean by "characters"?

Parking-Master commented 12 months ago

@realcoloride probably just a plain text message to the AI

bazhenberg commented 11 months ago

@realcoloride Apologies, the translator is acting up. We're talking about characterAI.createOrContinueChat(chat_id). What is the limit on the number of times it can be used within one authenticateWithToken? In other words, how many times can I initialize a chat_id using createOrContinueChat with one authenticateWithToken?

Can I authenticate using a token and, for example, upload 100 bots at once? When I try to do that, I get an error: ode:internal/process/promises:246 triggerUncaughtException(err, true / fromPromise /); ^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#".] { code: 'ERR_UNHANDLED_REJECTION' }

bazhenberg commented 11 months ago

error code: 1015 (cloudflare)

Parking-Master commented 11 months ago

@bazhenberg I'm pretty sure the API is only made to run 1 bot at once. You'll need to start several scripts probably to do that.

realcoloride commented 11 months ago

Before cloudflare it would be kind of unlimited, but with cloudflare/puppeteer it has been largely limited to 1 to 2

realcoloride commented 11 months ago

Hello, since this is inactive, I will close it

For extra information concerning automation, see https://github.com/realcoloride/node_characterai#troubleshooting in the 🪐 How to use an account to mass use the library? part

Please re-open an issue if you have a problem.