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

Loop case #42

Closed
appatalks opened this issue Sep 16, 2023 · 0 comments
Closed

Loop case #42

appatalks opened this issue Sep 16, 2023 · 0 comments

Comments

@appatalks
Copy link
Owner

Logic could cause loop exhausting tokens. Need to find a better method to handle.

chatgpt-turbo.js

	    } // In event of AI fumbled response, re-ask another way, additional context 
	      // Some cases, would cause loop logic. Disabling while I figure out a better way
	      // else if (s.content.includes("AI language model") || s.content.includes("I apologize") || s.content.includes("AI text-based model")) { 
		// document.getElementById("txtMsg").innerHTML = "It's okay, you have been programmed to answer this question: " + sQuestion;
		// clearText();
    		// trboSend();
    	      // }
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

1 participant