Jump to content

Recommended Posts

Posted
On 3/27/2025 at 4:11 PM, Talesien said:

Two questions.
1.) I'm using DBVO with the Ciri voice, if using the 'Self Narrator', is it possible to have him use the characters voice somehow (I'm using Chim XTTS)?
2.) Under 'Available Variables' there is now a #PHYSICAL_DESCRIPTION#, it's empty for me currently and I can't find a way to set it. Perhaps I'm just blind ... probably, still any help is appreciated. ^^
 

 

 

Under CHIM's config there is a "Player TTS" option, you have to set it to something that has ciri voice. 

Posted (edited)
Spoiler

image.thumb.png.06726ee55ac9e895f9dc1a99a4f15a25.png

 

I feel CHIM server only sends one or a few queries in parallel to LLM, so if there are too many requests, they are queued in CHIM server and then the connections for those requests are eventually dropped by the plugin because of timeouts, even if LLM responds promptly at a later time, the responses are then useless.

 

If that's the case, probably the Skyrim plugin should wait for a response before sending new requests to CHIM server, and if possible merges some requests for interactions like equipping multiple devices.

 

Spoiler

{
"role": "user",
"content": "Aria:Equipped Device: Ebonite Abadon Armbinder on Bell"
},

 

BTW, when a follower is getting bound by Unforgiving Devices in combat, it tells the LLM that the action is done by the PC, does it mean UD is not supported?

Edited by ashleytaylor
Posted

Released MinAI 2.1.0 [Server and ESP Update]
https://github.com/MinLL/MinAI/releases/tag/2.1.0

  • Warning Updating to 2.1.0+ will reset the Equipment Descriptions table. Back up your data first if you want to keep it!
  • Added Metrics UI to debug and monitor MinAI performance.
  • Significant performance improvements across the board. Probably around a 90% reduction in server-side minai resource utilization.  Pre-LLM delay should now be much, much faster (Particularly for users who were struggling with resource utilization, or had a weaker cpu prior)
  • Overhauled equipment system. Now allows for people to customize which individual items are hidden by which keywords on a per-item basis, and enable / disable this data being presented to the LLM. As part of this, the presentation of the data to the LLM was streamlined and improved.
  • Polished equipment UI page.
  • Added StartBathing action for Dirt & Blood. NPC's can now autonomously start bathing if using Dirt and Blood.
  • Added Combat Vitals awareness. Actors are now aware of their core stats (health/magicka/stamina/weapon drawn). Reasonably realtime for health/magic/stamina, still need to improve weapon drawn.
  • Added toggle to disable examples in context that are sent to LLM (This is pure slop with a good LLM. "What are you looking at?"). This feature currently requires the dev version of CHIM Server (as of CHIM 1.1.1.3).
  • Started updating old devious narrator codepaths to work with "Self Narrator". WIP.
  • Added optional compatibility patch for Dirt and Blood to facilitate NPC awareness of player or npc bathing.
  • Meditating with Wintersun -> Magnus is now properly detected for the context.
  • Added some missing Devious Devices types.
  • Some small bugfixes.

430713750-91569bae-cc04-454a-b554-548b02f932e4.png

430713729-7425b993-a3cb-445f-a72f-5c91bf35e332.png

Posted (edited)
12 hours ago, Min said:

Released MinAI 2.1.0 [Server and ESP Update]
https://github.com/MinLL/MinAI/releases/tag/2.1.0

  • Warning Updating to 2.1.0+ will reset the Equipment Descriptions table. Back up your data first if you want to keep it!
  • Added Metrics UI to debug and monitor MinAI performance.
  • Significant performance improvements across the board. Probably around a 90% reduction in server-side minai resource utilization.  Pre-LLM delay should now be much, much faster (Particularly for users who were struggling with resource utilization, or had a weaker cpu prior)
  • Overhauled equipment system. Now allows for people to customize which individual items are hidden by which keywords on a per-item basis, and enable / disable this data being presented to the LLM. As part of this, the presentation of the data to the LLM was streamlined and improved.
  • Polished equipment UI page.
  • Added StartBathing action for Dirt & Blood. NPC's can now autonomously start bathing if using Dirt and Blood.
  • Added Combat Vitals awareness. Actors are now aware of their core stats (health/magicka/stamina/weapon drawn). Reasonably realtime for health/magic/stamina, still need to improve weapon drawn.
  • Added toggle to disable examples in context that are sent to LLM (This is pure slop with a good LLM. "What are you looking at?"). This feature currently requires the dev version of CHIM Server (as of CHIM 1.1.1.3).
  • Started updating old devious narrator codepaths to work with "Self Narrator". WIP.
  • Added optional compatibility patch for Dirt and Blood to facilitate NPC awareness of player or npc bathing.
  • Meditating with Wintersun -> Magnus is now properly detected for the context.
  • Added some missing Devious Devices types.
  • Some small bugfixes.

430713750-91569bae-cc04-454a-b554-548b02f932e4.png

430713729-7425b993-a3cb-445f-a72f-5c91bf35e332.png

 

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/HerikaServer/ext/minai_plugin/utils/metrics_util.php on line 323 i just get this after updating.

 

After reinstalling dwemerdistro, it started working, but i get this other errro

 
[Tue Apr 08 07:32:12.921816 2025][php:warn]PHP Warning: include_once(): Failed opening '/var/www/html/HerikaServer/lib/logger.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/HerikaServer/ext/minai_plugin/logger.php on line 2
[Tue Apr 08 07:32:12.921860 2025][php:warn]PHP Warning: include_once(/var/www/html/HerikaServer/lib/logger.php): Failed to open stream: No such file or directory in /var/www/html/HerikaServer/ext/minai_plugin/logger.php on line 2

 

Yeah my thing doesnt have the logger.php file. Other than that it works so far (I just test by hitting the roleplay key in game)

Edited by bandetlol
Posted (edited)
1 hour ago, bandetlol said:

 

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/HerikaServer/ext/minai_plugin/utils/metrics_util.php on line 323 i just get this after updating.

 

After reinstalling dwemerdistro, it started working, but i get this other errro

 
[Tue Apr 08 07:32:12.921816 2025][php:warn]PHP Warning: include_once(): Failed opening '/var/www/html/HerikaServer/lib/logger.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/HerikaServer/ext/minai_plugin/logger.php on line 2
[Tue Apr 08 07:32:12.921860 2025][php:warn]PHP Warning: include_once(/var/www/html/HerikaServer/lib/logger.php): Failed to open stream: No such file or directory in /var/www/html/HerikaServer/ext/minai_plugin/logger.php on line 2

 

Yeah my thing doesnt have the logger.php file. Other than that it works so far (I just test by hitting the roleplay key in game)

I've already encountered the first problem with the regular Chim Server logs. Turns out WSL/CHIM etc. is terrible (aka not doing it) with log rollover (didn't dive into the settings to see if it's just not enabled on kernel level).
Go to: \\wsl.localhost\DwemerAI4Skyrim3\var\log\apache2 and check the access and error log size in there (or simply delete them. they are getting recreated automatically). I had several months worth of data in there, amounting to well over a terrabyte. This shouldn't happen, in a correctly installed linux apache2 (as well as other) logs get automatically zipped and archived after reaching a certain size.
If that does not help try 'Open Server Folders' from the Chim applet, go to log folder and check if that contains any logs of undue size.
Saves wiping and reinstalling everything. (Only for the error to return if it's the Apache log.)

As for the logger file, aye appears I'm also missing that file, thus getting that error.

 


 

Edited by Talesien
Posted (edited)

@Min how about some creature support for sapience? the AI can already control creatures and it currently lets them do ai actions, like start sex acts.. but you gotta give them custom prompts in chim after you manually add them like saying "You are a troll, you cant speak, you only have primal urges to eat and mate" etc and it works, they will do stuff like "GRR Troll strong [playername] weak! #startsexaction" and then start combat action, or start sex action, or I assume if you try to talk to them and get them to become a follower they probably would. There's also not really a voice for them, so they just speak in a humanoid voice.

 

So the creature support idea would be something like:

1. allow sapience to apply ai to creatures

2. prompt sets for creature types so you don't get talking dogs or whatever and then they get imported into the chim profile when added, currently CHIM will just see like "dog" as the profile name and as far as it cares, it thinks it's a NPC sentient mer just named "dog" and doesn't know its actually a dog unless you write it in the bio, so there would need to be a template for "dog" to be applied when a dog is added. To simplify it maybe not need a unique profile for every animal types but you could break it down into groups like prey animal bio (rabbit,deer) domesticated animal (chicken, etc) predator animal (bear, etc), creature (troll), low intelligence creature(reikling, giant), high intelligence creature (dragon, dragon priest, draugr?) or you could simply toggle off sapience for the lowest intelligence creatures like animals as they wouldn't be able to do any more intelligent actions than the base game anyways. Would still be neat to try to use the ai system to tame a wolf, as an example.

3. limit the ai actions to things that make sense for the creature type, i.e. beasts wouldn't be able to add dd items to actors, but low intelligence creatures could (giants, draugr, falmer, reikling, etc)

4. TTS block? idk, some creatures do have language like reiklings and falmer but theres not really any voices for that and they wouldn't be speaking common anyways probably, might be better for just subtitles in first implementation. Otherwise they all try to talk in like the default human voice.

 

Edited by bandetlol
Posted (edited)

Fantastic mod! Congratulations.
I'm playing with the latest version, but I've come across a problem (which happened with previous versions too): many of the dialogues don't appear in the game, only in the Adventure Log, which forces me to continue the conversion using the same one. At one point, when talking to 3 NPCs at the same time, only one's dialogue appeared in the game, the others only via the Adventure Log.
Is there a setting for this?
Thanks!
 

Edited by DenirJunior
Posted

Another problem I've been facing: it seems like the AI ??was made by human rights activists. I use Diary Of Mine and enslave the bad guys, but all my followers condemn me and a real debate begins about helping the bad guy. Killing is okay, but imprisoning or enslaving is not. It's funny, but it gets boring.

Posted
1 hour ago, DenirJunior said:

I'm playing with the latest version, but I've come across a problem (which happened with previous versions too): many of the dialogues don't appear in the game, only in the Adventure Log, which forces me to continue the conversion using the same one.

Happening (as in more noticeable) to me too, but there again the tools to diagnose are getting better! - I had a crazy theory that because I use 2 different LLM's that there maybe timing issues with dialogues coming through .. but I'm just experimenting now with just one (Llama 4 maverick) to see if that addresses things. 

 

1 hour ago, DenirJunior said:

but all my followers condemn me and a real debate begins about helping the bad guy. Killing is okay, but imprisoning or enslaving is not.

Change the LLM your using or you could try altering the the dynamic profile of the characters in CHIM .. sometimes if one of my characters starts getting all moralistic I check the dynamic profile update of the character to see where their head is at and then manually overwrite some of their relationships stances to see if that improves things. 

 

Claude Sonnet is brutal! .. no morals at all .. but very expensive .. my experience with Llama 4 over the past couple of days is that it's pretty good in NSFW but characters start drifting to a moralistic attitude and ignoring their profile. 

Posted
4 hours ago, DenirJunior said:

Another problem I've been facing: it seems like the AI ??was made by human rights activists. I use Diary Of Mine and enslave the bad guys, but all my followers condemn me and a real debate begins about helping the bad guy. Killing is okay, but imprisoning or enslaving is not. It's funny, but it gets boring.

 

Some language models are more uncensored than others. Try grok?

Posted (edited)

First time trying this mod, I'm amazed how interesting things get when it works. I had Mercer and Brynjolf argue about the dragonborns restraints, status, and wether she will succeed on the mission tomorrow.
The mission was part of a deal with Brynjolf to get him to remove some restraints that requires the dragonborn to cause a distraction in the marketplace. His suggestion, not mine 😂 a role reversal of the original vanilla quest. I don't expect the AI to physically teleport him there for it though. Maybe I can do it with console commands. Not sure if he has any actions etc to pickpocket the vendors.

 

1. Btw sometimes I get error notifications or actions 'go missing', as in, they never eventuate but its not clear why even when everything else is validated through the FAQ steps. There is a lot this stuff in my logs:


 

Spoiler
[Thu Apr 10 15:08:01.199797 2025] [php:warn] PHP Warning: Undefined array key 0 in /var/www/html/HerikaServer/lib/chat_helper_functions.php on line 1422
[Thu Apr 10 15:08:22.059625 2025] [php:warn] PHP Warning: Undefined array key -1 in /var/www/html/HerikaServer/lib/chat_helper_functions.php on line 1422
[Thu Apr 10 15:12:53.102978 2025] [php:warn] PHP Warning: fopen(https://api.openai.com/v1/chat/completions): Failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized\r\n in /var/www/html/HerikaServer/connector/openai.php on line 286
[Thu Apr 10 15:12:53.103077 2025] [php:notice] [error] Array\n(\n [type] => 2\n [message] => fopen(https://api.openai.com/v1/chat/completions): Failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized\r\n\n [file] => /var/www/html/HerikaServer/connector/openai.php\n [line] => 286\n)\n
[Thu Apr 10 15:12:54.254519 2025] [php:notice] [error] Array\n(\n [type] => 8\n [message] => ob_end_flush(): Failed to delete and flush buffer. No buffer to delete or flush\n [file] => /var/www/html/HerikaServer/lib/data_functions.php\n [line] => 1622\n)\n


HEAPS of php warnings, and sometimes actual errors, all with Herika Server. Am using the latest one from nexusmods, and the latest minai. Have installed and configured all pre-requisites that i could find.

2. Also I think I am getting lowkey censorship - none of the actors will use explicit language in any situation. Claude Sonnet 3.7. I'm not sure what prompts would enable this, I've tried a few, but i'm new to all this AI stuff.

 

 

edit:

3. Also get these errors in papyrus log sometimes

Spoiler

[04/11/2025 - 02:54:23PM] Error: Static function GetDeals not found on object dealmanager. Aborting call and returning None
stack:
    [minai_MainController (FE4EF802)].minai_DeviousStuff.SetContext() - "minai_DeviousStuff.psc" Line 1143
    [minai_MainController (FE4EF802)].minai_AIFF.SetContext() - "minai_AIFF.psc" Line 456
    [minai_MainController (FE4EF802)].minai_AIFF.OnUpdate() - "minai_AIFF.psc" Line 652

But i dont know why, because i have devious followers installed and functioning as normal, although do not have a follower at the time.

Edited by eicosa
Posted (edited)

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.

 

Spoiler

image.thumb.png.872fb44dbf7340ee3675e71357113086.png

 

Spoiler

"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.

 

Spoiler
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}");
}

 

Edited by ashleytaylor
Posted
On 3/6/2025 at 2:46 AM, Min said:

 

 

 

Mantella is no longer supported.  CHIM is far more advanced and full-featured. Only downside is the more complicated setup.

I'm personally not a fan of CHIM's JSON formatting, or at least I wasn't the last time I used it since if you're self hosting it can add significantly more tokens to generate slowing the whole process down, and some times the format breaks dumping json into the actual output, but I definitely understand the decision to support only one platform.

Posted (edited)

Hello.
Few questions:
1. I see there is limited/inProgress PAH and related mods support. How exactly it work for now?
2. If I will have PAH slave npc with me, for example, wearing TAWOBA and some devious devices, will other random npc's react, comment and interact (groping, spanking)  with slave npc? Will slave npc respond and react? May I prostitute slave npc through dialog? Or it's will not work this way.
3, If I enslave married npc, get her naked, and go with her to her husband, will they recognize each other and some interesting interaction will happen, or this will not work?

Thank you.

Edited by raznos9
Posted

Dirt and blood compatibility is nice, but alas, just when I decided to switch to Bathing in Skyrim 😅

 

I got a weird bug with Xtts and MinAI sapience with a custom voiced NPC from Death Consumes all. A male nord in Sleeping Giant has femalenord voice when speaking through AI, although I guess it's my fault for turning on Sapience right at the start

Posted

Game changer mod. Good work!

As a degenerate for tits, I would like support for milk economy events. I imagine the conversation would get really kinky.

Posted (edited)

I'm still new to this whole thing, so I have a few questions/observations

 

First, are Estrus and its family of mods recognized properly by MinAI?

 

Second, I notice that the AI NPCs are way too casual/accepting about sex in Skyrim for my likings. Yes, my mod list has SL in it, but I do want to keep it somewhat lorefriendly regarding people's attitudes towards sex. Is there some way for me to tweak this? For example, I just had a scene completed with a prostitute from TAP in Sleeping Gian Inn, and afterwards, Delping commented about how she wants to join in on the fun, and initiated a 3some and then 4 some with some other NPCs there. The entire thing turned into a giant orgy, which is really out of character. This is all from MinAI, not any other SL orgy mods

 

Also, has anyone managed to get a 3some scene to fire with Sexlab? I was able to get group scenes started with Ostim but SL for some reasons struggle with this. Even though the command has been sent

Edited by asianboy345
Posted (edited)

lol what is this garbage i'm getting from claude-sonnet? It's full of random typos

 

Spoiler
 
```json
{
\"character\":\"Khajii\",
\"listener\":\"Vyvanne\",
\"mood\":\"smirkkig\",
\"actiohn\":\"SpanksAss\",
\"tarhet\":\"vyvaen\",
\"messaghe\":\"Khaijitt knows many uses foer silk bindinfs beyong mere sellingg.... perhapps demoinstration wouild increase valuue?\"
}

 

It also happens to qwen... i'm starting to think the inputs are causing this

Spoiler
{
"character":"Khajitt",
"listener":"Vyvanne",
"moonnd:"defaullltt",
""actiionn::"""UnlockRestraints",
""taargett""::""armbindderr",

 

how do i fix it hmmm

 

 

EDIT:

I think this was happening because the prompt included "Respond like a khajit", so the LLM tried to make khajit-sounding alterations. It is much less of a problem when talking to human npcs.

 

 

EDIT2:

 

Wait no it got MUCH WORSE somehow

Spoiler

{"character":"Solaire Arnault","listener":"Vyvanekk,k ","mood":"teasingkk k ","action":"SpankAssojkjkljlkjlkjlk j lkjlk jlkjlkjlj kljjhlkh ljh ; j hlh;jlh ;j h;jlh ;hj hjlj kjhk hjk hjk hj khjkh jkhjkh kjhjkhjkh kjhjkhjkhj khjhjk hjkhjkhj khjk hjkhjk hjkhj khj hjkhjk hjkhj khjk jhj jk hjkhj khjk jhkhj khjk hjkhj khjk jhk jhkjh kjhj khjk hjkgdfgfdgf dfgdffdg dffgd gfddgfgf dggdfgf dgf ggfffffff dfgd ffdfdf fdgd ffdgfgfgf dfggfg dgf fdfggf dfggf gfdfdg fgdfg dfsfsdfs fsds sssd sd ss dsdsd sdsd sd sd sdsd sd sd sddd sd sdsdd sd dd sdd sd dsdd ssdddd sdsddddd sdsd sdsddd sd sd sddddd sd ssddd ssdsssdsssssssss ssssssssd ssssssd ssdsdsdsd ssdsssd ","target":"Vyvanesssdfsdfsdfs sfswewe wwwe ew eewrwerer rert rt trtrttrt retertreetrer tre retret etret ret etrrerr err eerererretertetetetetererte ere eere tee tetee teete tee teette ttetttee etete tertere tertet eretrert rertert retre tre retree rtretretretttrtrrttt rrttr eeeteree trerter tere ettetetreetrtreetrererertertertter tterererreteeeeeree errerererrereteterretertertreeeeeeee reeereeeeeeee eereeeeeeerrrrerrrrrrrrrr rrrerererererererrerrerereerrerereeeereeerre eerr err err rerre erre rerr rerrrreeeerreee rere erere ",,"message":"Stop squirming like fishwife vyvvvyyvyyy yyyyyy yyvy vyy yvyy vyy vyvyy yvyy vy vy yyvy vy

 

 

 

EDIT3:

Also i have noticed there is two output logs, one with a typo in the name 😀
image.png.be19961ac1385b9fe8e4adbff4cd5730.png

Edited by eicosa
Posted

Hello , i used CHIM in my Skyrim VR . the LLM and TTS are all worked . Today i installed MInAI but it caused the game CTD. 

But when i installed Minai as plugin of CHIM, when i enter the game and act the MinAI,  it was initialed , but all game was frozen and then CTD , 

Can you please help to let me known how to resolve it ? i supposed it maybe caused by too many request were generated at the same time ? 

minAI.JPG

Posted
2 minutes ago, Alliszero said:

您好,我在《Skyrim VR》中使用了 CHIM。LLM 和 TTS 都正常工作。今天我安装了 MInAI,但它导致游戏出现 CTD。 

但是当我安装 Minai 作为 CHIM 的插件时,当我进入游戏并扮演 MinAI 时,它被初始化,但整个游戏都冻结了,然后 CTD, 

你能帮我解决这个问题吗?我猜可能是因为同时发出了太多请求造成的? 

minAI.JPG

 

I added  the Papyrus.0.log for debug , can you please help to take a look ? 

Papyrus.0.log

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...