hark130 / jack-in-the-box

Connecting Jackbox games to the OpenAI API
GNU General Public License v3.0
1 stars 0 forks source link

JITB-32: Dynamically read length limit of prompts #47

Closed hark130 closed 1 month ago

hark130 commented 1 month ago

First, Jackbox-Game-specific implementations of _answer_prompt() have hard-coded length limits. The length limit for a given prompt can be parsed from the html.

Second, there are now four examples of _answer_prompt() implementations. Certainly, there's some common functionality that can be extricated in to stand-alone functions. (AKA Let's make Pylint happy again)

hark130 commented 1 month ago

Finished and merged