oxagast / Franklin

Franklin is a LLM powered AI IRC chat bot
https://franklin.oxasploits.com
Other
10 stars 5 forks source link

Cohere base 'command' merge into frank_master branch. Compete with all other updates to code up to 4.0.0. #16

Closed oxagast closed 8 months ago

oxagast commented 8 months ago

This brings Franklin's master branch frank_master even with the new cohere-base_command branch that's under the most development right now. The new branch is not only supports Cohere's API for the 'command' model, but lots of improvements to the way logging is done, and general bug fixes. It also fixes the 'hang after retries exhausted bug' by diverting code flow right before the hang, and calling script load franklin.pl on itself - which clears the chat buffers of whatever has locked them up (the lockup is normally because some stray character enters the chat context, then stays there until it's rolled out again as things are shifed off the $chat[] array... which takes a while, and Franklin's API calls fail for everything until its rolled off because its rolled onto the DCP).