asianboy345 Posted April 13, 2025 Posted April 13, 2025 (edited) 10 hours ago, arandomguyspain said: does the mod support creatures? It does, did a quick test with the Tirk mod, NPCs can recognize that he's a riekling and wonder about the differences to a human. Tirk himself actually talks dirty to the PC about the act during the scene, which is really neat. Did another test with a horse while Tirk is following and he commented that he would like to help hold down the horse so the PC can feel safe during the act, what a thoughtful little guy However, the default settings and prompt do have NPCs being weirdly accepting of public creature sex, one of the female guard even asked if she can join in, which bugged out the scene because I think 3P scenes initialization is still a bit wonky with MinaI and SL Edited April 13, 2025 by asianboy345
ashleytaylor Posted April 13, 2025 Posted April 13, 2025 On 4/10/2025 at 4:57 PM, ashleytaylor said: By default if the response time (LLM + TTS) exceeds 30 seconds, the dialogue can only be seen in server logs because of connection timeout. It can be configured on CHIM MCM. Reveal hidden contents Reveal hidden contents "perf": [ "214.01033401489 secs in openai stream", "215.3340420723 secs in openai stream" ], First token latency 4.16 seconds Throughput 31.9 tokens/second Finish reason stop Data policy No data training | Policy Tokens 4504 prompt 122 completion The Metrics look okay but seems I'm still facing pre-LLM delays, the logs show that 200+ seconds were spent for openai stream but OpenRouter says the throughput was 31.9 t/s, how could I troubleshoot? CHIM server is running in a Docker container on a local server, dozens of CPU cores and 100G+ RAM are free so the hardware is unlikely to be the cause in my opinion. Update: I've modified main.php to record lock duration. I'll get back with my findings. Reveal hidden contents if (!in_array($gameRequest[0],$fast_commands)) { $semaphoreKey =abs(crc32(__FILE__)); $semaphore = sem_get($semaphoreKey); $time_s = time(); while (sem_acquire($semaphore,true)!=true) { //error_log("Audit: Waiting for lock: {$gameRequest[0]}"); usleep(1000); } $lock_dur = time() - $time_s; Logger::info("Audit:Lock acquired by {$gameRequest[0]} at ".time().", ts {$gameRequest[1]}, lock duration {$lock_dur}"); } Spoiler Spoiler So it is confirmed, the pre-LLM delays in my case are related to the lock, in certain situations the Skyrim plugin sends too many requests but CHIM server only processes one request at a time, and the MinAI Metrics module doesn't measure it. Am I the only one affected?
Miss Sophia Posted April 13, 2025 Posted April 13, 2025 (edited) I am lost, works fine in the initial interior where i loaded everything up. As soon as I engage in a conversation with another NPC, "seems the server is not responding" or some such in game. Edited April 13, 2025 by Miss Sophia More informaton
Miss Sophia Posted April 13, 2025 Posted April 13, 2025 (edited) This one is spamming over and over, I am very new to this project, but boy is it a blast even though I havent had it work beyond Honeyside haha. Total noob to such a complex mod as this, but spent the day getting it to work this far and happy to help troubleshoot, once I know tf I am doing haha EDIT answered on discord, need to *download* more RAM Yep start a convo with a new NPC and everytime I engage a new NPC other than my existing follower, there are two sentences, then the server errors appear in game and this appears in the logs Edited April 13, 2025 by Miss Sophia
asianboy345 Posted April 14, 2025 Posted April 14, 2025 (edited) 3some scenes are just a bit wonky in general for both frameworks. But I can't for the life of me get it to launch a 3some SL scene successfully. The notification said that MinAI is trying to launch a 3some scene. I accept, then it just goes into a 2P scene and one of the NPC is left out. And sometimes nothing happens at all. Also, I guess the "NPC can join scene" probably should be disabled for now? Because with SL, the NPCs are constantly trying to start a new scene with the couple currently in the scene but can't. I guess that feature is not SL-friendly EDIT: I reinstalled SL and kept it as minimal as possible, that means no SL Utility, SLAS ,etc. and group scenes now work and start properly, so it's probably related to those addons Edited April 15, 2025 by asianboy345
bandetlol Posted April 14, 2025 Posted April 14, 2025 Is there a way I can disable or tweak the "start combat" action? Have issues where it will start in the middle of a city, and actors i dont want to die end up dying.
Miss Sophia Posted April 14, 2025 Posted April 14, 2025 (edited) I have a suggestion for two mod integrations, YPS Immersive Fashion and Bimbos of Skyrim. EDIT: Also Sexlab Survival as it has so many integrations with many mods including YPS. This one isnt being actively developed though Edited April 14, 2025 by Miss Sophia
ank_mon Posted April 16, 2025 Posted April 16, 2025 Is there a way to decrease the distance at which NPCs notice a sex scene? If the player rents a room at an inn and has sex, all the NPCs in the inn will notice.
Talesien Posted April 16, 2025 Posted April 16, 2025 18 hours ago, ank_mon said: Is there a way to decrease the distance at which NPCs notice a sex scene? If the player rents a room at an inn and has sex, all the NPCs in the inn will notice. Given that at half the inns the rooms don't even have doors ... ^^
ank_mon Posted April 16, 2025 Posted April 16, 2025 1 hour ago, Talesien said: Given that at half the inns the rooms don't even have doors ... ^^ Inn Room Privacy is a great mod
ashleytaylor Posted April 17, 2025 Posted April 17, 2025 (edited) On 4/16/2025 at 11:26 AM, ank_mon said: Is there a way to decrease the distance at which NPCs notice a sex scene? If the player rents a room at an inn and has sex, all the NPCs in the inn will notice. When I tried to do the quest, everything Delphine talked in the secret room is heard by all the people in the inn, and in many situations, followers suddenly talked to someone in another room or on another floor, seems it would be better if the plugin could check if a NPC is in sight before involving them. Edited April 17, 2025 by ashleytaylor
Miss Sophia Posted April 17, 2025 Posted April 17, 2025 8 hours ago, ashleytaylor said: When I tried to do the quest, everything Delphine talked in the secret room is heard by all the people in the inn, and in many situations, followers suddenly talked to someone in another room or on another floor, seems it would be better if the plugin could check if a NPC is in sight before involving them. Yea it certainly is possible because sneak can turn off sapience whilst doing it, would be nice to have a private conversation hotkey.
morpheusk13 Posted April 18, 2025 Posted April 18, 2025 Is there a chance for the mod to get updated for Mantella 0.13? It's the only framework that works fast on my laptop. Running CHIM with XvaSynth makes my laptop cpu melt.
asianboy345 Posted April 18, 2025 Posted April 18, 2025 On 4/16/2025 at 8:37 PM, ashleytaylor said: When I tried to do the quest, everything Delphine talked in the secret room is heard by all the people in the inn, and in many situations, followers suddenly talked to someone in another room or on another floor, seems it would be better if the plugin could check if a NPC is in sight before involving them. Min himself said on his discord that it's currently a limitation that he can't really figure out, so he suggest turning on the "turn off sapience when sneaking" setting and do that when talking to Delphine. Or just turn off Sapience when you're in the middle of a quest scene, Sapience honestly tend to bug out the dialogues and quest stages. For main quests or civil war quests, you should only turn on AI assist for your followers and no one else 1
Talesien Posted April 20, 2025 Posted April 20, 2025 It appears that, while it says 'Only errors' on the heading for the Apache server logs it is indeed set to 'all' including notices and warnings. That wouldn't be so bad if MinAI would not generate an warning and a notice for every piece of equipment that it can't find a description for (or perhaps that only happens for restraints). Anyway the sheer amount of those errors seem to affect performance as I also constantly get the notice that there seem to be server issues, check the logs. The only errors in the logs are said equipment related ones though. Tried with both 2.1.1 and 2.1.2-Dev3. Attached the Apache error log to this post. Let me know if you need another. Reminds me you prefer error reports here or on the github? error.zip
PaulAllenBooty Posted April 20, 2025 Posted April 20, 2025 Hello, I posted a couple months ago and have been trying to get the LLM (or Kobold) to have the #PHYSICS_INFO detect if the penis is touching the hands, head, or feet. This is so the AI will know if they are giving a blowjob, etc. without me having to say it. I am just wondering, has anyone got this to work? Or does #PHYSICS_INFO only work for vagina, ass, and belly? Any answers will be appreciated because I have spent too much time trying to do this. Thanks
Min Posted April 21, 2025 Author Posted April 21, 2025 1 hour ago, Talesien said: It appears that, while it says 'Only errors' on the heading for the Apache server logs it is indeed set to 'all' including notices and warnings. That wouldn't be so bad if MinAI would not generate an warning and a notice for every piece of equipment that it can't find a description for (or perhaps that only happens for restraints). Anyway the sheer amount of those errors seem to affect performance as I also constantly get the notice that there seem to be server issues, check the logs. The only errors in the logs are said equipment related ones though. Tried with both 2.1.1 and 2.1.2-Dev3. Attached the Apache error log to this post. Let me know if you need another. Reminds me you prefer error reports here or on the github? error.zip 199.75 kB · 0 downloads These errors aren't normal - you're missing columns on the equipment description table that were added in 2.1.1. For whatever reason, the db migration failed. If you drop the equipment descriptions table these will go away.
Min Posted April 21, 2025 Author Posted April 21, 2025 On 4/14/2025 at 7:01 AM, bandetlol said: Is there a way I can disable or tweak the "start combat" action? Have issues where it will start in the middle of a city, and actors i dont want to die end up dying. You can disable the attack action entirely via the minai plugin config menu. On 4/18/2025 at 9:56 AM, asianboy345 said: Min himself said on his discord that it's currently a limitation that he can't really figure out, so he suggest turning on the "turn off sapience when sneaking" setting and do that when talking to Delphine. Or just turn off Sapience when you're in the middle of a quest scene, Sapience honestly tend to bug out the dialogues and quest stages. For main quests or civil war quests, you should only turn on AI assist for your followers and no one else Yeah, there's no good way for me to solve this at present. On 4/18/2025 at 5:10 AM, morpheusk13 said: Is there a chance for the mod to get updated for Mantella 0.13? It's the only framework that works fast on my laptop. Running CHIM with XvaSynth makes my laptop cpu melt. Sadly no. Mantella's API is too limited to work with. It's not possible to build the same integrations on that platform. On 4/13/2025 at 5:00 AM, ashleytaylor said: Reveal hidden contents Reveal hidden contents So it is confirmed, the pre-LLM delays in my case are related to the lock, in certain situations the Skyrim plugin sends too many requests but CHIM server only processes one request at a time, and the MinAI Metrics module doesn't measure it. Am I the only one affected? Try turning off minime. CHIM does indeed only process one request (that would result in tts/llm response) at a time. If you're having 200 second delays, it's extremely probable you're bottlenecking on some resource. I know you said the chim server is running on a beefy container - but, if you're also running minime off that container, it might be the problem. The metrics prove it's not MinAI in any case.
Fraying9981 Posted April 21, 2025 Posted April 21, 2025 Are actions such as attack influenced in any way by relationship status? For example if an npc is an ally is he more likely to accept to attack somebody else?
bandetlol Posted April 21, 2025 Posted April 21, 2025 11 hours ago, Min said: You can disable the attack action entirely via the minai plugin config menu. I dont see the option. I expand all the sub trees in the MCM for actions and i dont see any attack. Or is it in the web browser config?
Min Posted April 21, 2025 Author Posted April 21, 2025 13 hours ago, Fraying9981 said: Are actions such as attack influenced in any way by relationship status? For example if an npc is an ally is he more likely to accept to attack somebody else? Sort of. NPC's are aware of their relationship to the player, which they may factor into their decisions. It's LLM dependent. 2 hours ago, bandetlol said: I dont see the option. I expand all the sub trees in the MCM for actions and i dont see any attack. Or is it in the web browser config? Right, that's a CHIM action (Not one exposed by minai), so it's not in my MCM. I do expose an option for purging actions from CHIM in the web browser config. You would want to purge the "Attack" command. 1
bandetlol Posted April 21, 2025 Posted April 21, 2025 3 hours ago, Min said: Right, that's a CHIM action (Not one exposed by minai), so it's not in my MCM. I do expose an option for purging actions from CHIM in the web browser config. You would want to purge the "Attack" command. Yeah thats the issue I don't have a list of chim actions. ill try that
jc321 Posted April 21, 2025 Posted April 21, 2025 @Min Not sure if this is a known issue or not (which occurs if you want your follower to take items from you) but if you are forced to consume something .. in my case skooma .. your follower thinks it's been added to your items first and if they subsequently ask for you to hand it over ... I wouldn't have the item as it was forced consumed on me .. but there's nothing to inform the follower otherwise. One other thing, ages ago back in ye olde Mantella days you said that if an NPC doesn't use the keywords then just remind the NPC's to use keywords .. which worked really well. As it's evolved I still sometimes get NPC's forgetting so I say "please remember to use Actions, commands & keywords" - which again works .. but I was wondering is there a specific one to use rather than all three? ie are they still called keywords or are they now actions (or even commands)
Talesien Posted April 21, 2025 Posted April 21, 2025 21 hours ago, Min said: These errors aren't normal - you're missing columns on the equipment description table that were added in 2.1.1. For whatever reason, the db migration failed. If you drop the equipment descriptions table these will go away. That helped, had to drop the tattoo one as well due to a similar error cropping up. Makes me wonder Chim has a mechanism to export and import DB's and profiles, which I use regularly as I tend to switch between a more and a less NSFW heavy game. Does Chim/MinAI actually account for the need to update an imported DB if it was exported by an older version?
ashleytaylor Posted April 22, 2025 Posted April 22, 2025 On 4/21/2025 at 8:45 AM, Min said: Try turning off minime. CHIM does indeed only process one request (that would result in tts/llm response) at a time. If you're having 200 second delays, it's extremely probable you're bottlenecking on some resource. I know you said the chim server is running on a beefy container - but, if you're also running minime off that container, it might be the problem. The metrics prove it's not MinAI in any case. Thank you for your response! My point was that CHIM and/or MinAI plugin may send too many requests in parallel in certain situations, e.g. in a combat with more than 10 enemies and followers are being equipped multiple devices at a time by another plugin. In my case it takes around 10 seconds (LLM 8s, TTS 2s) to complete one request, so if there are 20 or 30 requests, it is expected that the total execution time will be close to or over 200 seconds. Maybe those requests could be merged but I understand it is not easy. Anyway 90% of the time it works great, so not a big problem. Spoiler curl -v http://localhost:8082/topic?text=Indeed%2C+the+Augur.+Let's+refocus.+Kaidan's...+distractions+aside%2C+we+should+press+onward.+ * Trying 127.0.0.1:8082... * Connected to localhost (127.0.0.1) port 8082 (#0) > GET /topic?text=Indeed%2C+the+Augur.+Let%27s+refocus.+Kaidan%27s...+distractions+aside%2C+we+should+press+onward.+ HTTP/1.1 > Host: localhost:8082 > User-Agent: curl/7.88.1 > Accept: */* > < HTTP/1.1 200 OK < date: Tue, 22 Apr 2025 01:06:13 GMT < server: uvicorn < content-length: 162 < content-type: application/json < * Connection #0 to host localhost left intact {"input_text":"Indeed, the Augur. Let's refocus. Kaidan's... distractions aside, we should press onward. ","generated_tags":"Augur","elapsed_time":"0.19 seconds"} curl -v http://localhost:8082/topic?text=Where+is+the+Dark+Brotherhood+Sanctuary? * Trying 127.0.0.1:8082... * Connected to localhost (127.0.0.1) port 8082 (#0) > GET /topic?text=Where+is+the+Dark+Brotherhood+Sanctuary? HTTP/1.1 > Host: localhost:8082 > User-Agent: curl/7.88.1 > Accept: */* > < HTTP/1.1 200 OK < date: Tue, 22 Apr 2025 01:06:33 GMT < server: uvicorn < content-length: 133 < content-type: application/json < * Connection #0 to host localhost left intact {"input_text":"Where is the Dark Brotherhood Sanctuary?","generated_tags":"Dark Brotherhood Sanctuary","elapsed_time":"0.20 seconds"} As for Minime, seems the impact is minimum, I've tried to call the API manually over 10 times, the elapsed time is always about 0.2 seconds. I understand CHIM server might query its DB after receiving the response but it shouldn't take too long as well, please correct me if I'm wrong.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now