talos-bots / TalOS-Reborn

LLM Powered discord bot, Character Card enabled Chat page, Stable Diffusion discord bot, and overall AI tool. All from one app, TalOS: Reborn.
GNU General Public License v3.0
23 stars 7 forks source link

Fix OpenAI API #7

Closed LumiWasTaken closed 10 months ago

LumiWasTaken commented 10 months ago

Issue: The Backend was returning a response object in the format {_object: list, data: data}, which was inconsistent with the Frontend's expectation. The Frontend was designed to receive data containing the list of models directly.

Solution: Implemented a simple fix in the Backend to adjust its response format. Now, the Backend response aligns with the Frontend's expected format, where data directly contains the list of models.