Closed Pleasant-Cry closed 1 year ago
Commit 6e9a6ed is a first crack at implementing wildcard GET proxying. Still needs work. FastAPI is async so we shouldn't be using requests
but rather httpx
to make async calls to the KoboldAI API, but I haven't been smart enough to figure that all out just yet. Once GETs are working well we can move on to the rest of the PUT/POST/DELETE methods.
We will implement a pass-through API that will take a request from TavernAI and pass it unmodified to KoboldAI and then return KoboldAI's response back to TavernAI.