Api calls completions
Hi,
I’m working on an iOS native openwebui chat app and I’m having trouble getting the messages to show up in the web view.
Since there aren’t any official docs on the order or calls to make, I’ve gathered some information from the web interface.
- I make a call to update the chat.
- I make a call to completions to get the response.
- I make a call to set the completion to completed.
- I make a call to update the chat again.
I might be missing a small detail, as the messages are placed in the web interface, but the assistant responses aren’t showing up.
I haven’t fully implemented what you’re trying to do, but I have achieved part of it. My project might be helpful as a reference: https://github.com/Fu-Jie/openwebui-chat-client.
I haven’t fully implemented what you’re trying to do, but I have achieved part of it. My project might be helpful as a reference: https://github.com/Fu-Jie/openwebui-chat-client.
Thanks for your reply! I already got it working I will add documentation for others. Would love to stay in touch to discuss concepts and implementation methods
PR welcome!