lmg-anon / mikupad

LLM Frontend in a single html file
https://lmg-anon.github.io/mikupad/mikupad.html
Creative Commons Zero v1.0 Universal
175 stars 24 forks source link

fix togetherai (openai-compatible) #50

Closed ihatenumbers closed 2 months ago

ihatenumbers commented 2 months ago

ignore the other closed one, accidentally pushed with wrong variable.

This pr only removes logprobs and adds api.together.xyz conditionals

openaiModels() -> getModels() is still broken.

Here's some models to put in Model. Model String for API or api.together.xyz/v1/models

lmg-anon commented 2 months ago

There's a problem with your PR, realEndpoint only exists when using mikupad through the server... But I guess this was my fault, I shouldn't have written it that way, so I'll merge this PR and push a little refactoring for that part. Thank you for your contribution!

ihatenumbers commented 2 months ago

No problem, it's thanks to your efforts this project exists in the first place!