igoforth / RWAILib

MIT License
4 stars 0 forks source link

Custom endpoint #3

Open Belarrius1 opened 1 month ago

Belarrius1 commented 1 month ago

Hi there!

Would it be possible to use a customized endpoint? I have my own local LLM AI with an OpenAI standard API endpoint with "oobabooga text-generation-webui"

Best regards,

igoforth commented 1 month ago

Thanks for writing. It should be possible. Currently the server also uses a standard OpenAI API and listens at this address on this line: https://github.com/igoforth/RWAI_Server/blob/master/src/AIServer/client.py#L23

You’ll have to make sure your server is listening at that endpoint before the mods server tries to start.

Let me know if it works, as i haven’t tried it

Belarrius1 commented 1 month ago

image image

In Game, I have AI core and AI items, it's seems not works.

I'm in Linux Mint, and the mod doesn't install correctly, I'm forced to run “python bootstrap.py” for everything to install and download. But, my ".config/unity3d/Ludeon Studios/RimWorld by Ludeon Studios/RWAI Items" is empty I don't know if it's normal, it's maybe the problem.

Oh and the only log I have about RWAI :

image

igoforth commented 1 month ago

You’ll want to let it install, before trying your own server, if possible