abeiro / HerikaServer

MIT License
19 stars 15 forks source link

Can more debug settings be added to SKSE plugins in AIAgent.ini, such as modifying connection timeout settings related to SKSE? #26

Open hesoyamlp1 opened 1 month ago

hesoyamlp1 commented 1 month ago

I rewrote parts of the connector to use some open-source LLM hosting services. Often, the inference speed is not high, and the time required for generating responses + TTS exceeds 30 seconds.

When the response generation + TTS time exceeds 30 seconds, I can see the response being generated normally in the AI log, and I can query the generated response normally in the psql database, but in the game, only a prompt "there are connection issues, check server log" pops up in the upper left corner.

I guess this shouldn't be due to the php backend not working, but rather because the time required for generating responses + TTS exceeds the maximum request time limit on the SKSE side. Perhaps this time limit is 30 seconds? Just my guess.

Given that the SKSE plugin is not open-source, would it be possible to add more customization options in AIAgent.ini in the next version to help with further testing/utilization? For example, adding adjustments for the aforementioned timeout period or other methods that could alleviate this situation?

Your work is excellent. I've already starred the project. Thank you for your efforts!

abeiro commented 1 month ago

You can customize connection timeout in MCM menu.