Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runs the code over and over again #55

Open
edouard17712 opened this issue Nov 4, 2024 · 2 comments
Open

Runs the code over and over again #55

edouard17712 opened this issue Nov 4, 2024 · 2 comments

Comments

@edouard17712
Copy link

edouard17712 commented Nov 4, 2024

When the API limit is hit, and I try to resume the generating, it starts from an earlier point again and again, wasting an insane amount of tokens on stuff that has been written already.

@chadwickallison
Copy link

I cant get it to even try to get to an API.
This has run for 4 hours and I don't know what to do.

I got a recommend that the Anthropic and Openia keys might not be there.

I went to the API folder and it has both folders but am I supposed to add new keys? Where & How if I do?

The directions only have the one that we need so am I missing something.

I added that JS and I haven't seen JS errors before.

Network is fine and everything else works on this system.

import Anthropic from "@anthropic-ai/sdk";
import dotenv from "dotenv";

import fs from "fs";
import OpenAI from "openai";

@YuniorGlez
Copy link

@edouard17712
Bros ... please be aware that this is an early alpha... the poor author has made it super clear in the readme Early Alpha: Unstable The following points are very emphasized: This is an EARLY, UNSTABLE, PREVIEW RELEASE of the project. ⚠️ Until v1 is released, it is expected to break often.
It consumes a lot of tokens. If you are on a tokens budget, wait until v1 is released.
Again, this is an early, unstable release. A first test run. An early preview of the project's ideas. Far from completion. Open-source iterative development. Work in progress. Unstable early alpha release. [etc] If any of these might be issues for you, even in the slightest way, wait until v1 is released !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants