Hey,
Get the same error via operation, when you click on query it works well !! Perhaps so can fix it with this info.
Best
hi @well-noted ,
i’m trying to make this work with lm studio and getting the following error:
wikisage says Error: Failed to fetch and lm studio says 'messages' field is required
i got them to connect by simply find and replacing all the links to openai to the localhost where lm studio runs at and then adding the correct models in wikisage and lm-studio as an openai api key, but i can’t figure out this “messages” problem
in the lm studio docs i found the following
curl http://127.0.0.1:1234/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-oss-20b",
"messages": [
{ "role": "system", "content": "Always answer in rhymes." },
{ "role": "user", "content": "Introduce yourself." }
],
"temperature": 0.7,
"max_tokens": -1,
"stream": true
}'
but as far as i can tell wikisage looks very similar to this, when i tried to add double quetes where there werent in wikisage the whole plugin stopped working so i’m guessing that’s not the problem
can you help?
edit: i see earlier you said if you add local llms you’d start with ollama, with that one i couldn’t make a connection between them, but i’m no programmer and just poking around. i can’t add an api key because it doesn’t provide one and so wikisage just says missing api key.
Hi just upgraded to the latest version I’ve noticed when using the widget it still tries to format the output in TiddlyWiki wikitext instead of just returning the raw markdown. Are there plans to fix that in future updates?
@well-noted any new updates? I tried version 0.9.15. but when I want to create tiddlers with gpt, I get an Error instead. Error: API Error (400): Invalid type for ‘messages[3].content’: expected one of a string or array of objects, but got an object instead.
Sorry to everyone for the long wait. I will be doing a major refactoring in the near future, but have a new version that should fix some errors and update the hardcoded macros to use the most cost effective agents.
WikiSage.tid (1.8 MB)
Sorry I’ve just come across this now @TW_Tones; I’m sorry if I’m not understanding, are you saying that I have the option to edit the first post in this thread? I would definitely do that if I saw the option.
I believe post-editing privileges are dependent on your Discourse trust level, so your original post may be too old for you to edit by this point. I’ve updated it with a link to your newest attachment; feel free to ping me if you need help editing in the future.
Major refactor of the WikiSage plugin is complete!
But that’s boring and doesn’t do anything tangible for users, so I wanted to include a little treat…
Local LLMs are now supported by WikiSage!
Simply add a model prepended with local: to your model list and add your api url to $:/plugins/NoteStreams/WikiSage/local-llm-url (also in the config tab of the plugin info)… that’s it!*
Download the latest version:
WikiSage.tid (1.7 MB)
@etardiff, if you could update the original post for me to reflect the new download link, that would be excellent
Thank you.
*Is working for me, it should work for you but results may vary based on your individual setup.