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

Update routes.js #11

Merged
merged 1 commit into from
Mar 28, 2023
Merged

Update routes.js #11

merged 1 commit into from
Mar 28, 2023

Conversation

fayland
Copy link
Contributor

@fayland fayland commented Mar 28, 2023

you set API_KEYS = ["a", "b"]; so here it should be just key. hmm, did you really test your code? I have it running but so many bugs?

you set API_KEYS = ["a", "b"]; so here it should be just key. hmm, did you really test your code? I have it running but so many bugs?
@fayland
Copy link
Contributor Author

fayland commented Mar 28, 2023

btw,

if (DEBUG) console.log(`[CHAT] [${req.user.data.id}] [${req.user.data.name}] [MAX-TOKENS:${req.body.max_tokens ?? "unset"}] ${prompt}`);

if wrong, no prompt defined at all.

@PawanOsman PawanOsman merged commit fc36f45 into PawanOsman:main Mar 28, 2023
@PawanOsman
Copy link
Owner

Thank you, yeah I tested but because I created it from a close source one maybe I forgot to change some of the code, thank you again for your pr, and yeah prompt is defined but when MODERATION is true, i need to update this part

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

Successfully merging this pull request may close these issues.

2 participants