hey im trying to get soke stuff on python with kobold api. basic things like get works nice from python request but im unable to post anything. even if i 1:1 mirror it from the api'gudie its not working in kobold im keep getting an error body err b
i think its pythons stuff like usual ^^ also api/v1/generate fails even from the documents page (the offical gudie page)
api/extra/generate/stream works from the gudie page but fails from python request with body error
so basicaly here is a sample code to reproduce my error
hey im trying to get soke stuff on python with kobold api. basic things like get works nice from python request but im unable to post anything. even if i 1:1 mirror it from the api'gudie its not working in kobold im keep getting an error body err b i think its pythons stuff like usual ^^ also api/v1/generate fails even from the documents page (the offical gudie page)
api/extra/generate/stream works from the gudie page but fails from python request with body error
so basicaly here is a sample code to reproduce my error
import request url='https://localhost:5001/api/extra/generate/stream'
data={ "prompt":"the api is doing wierd stuff", "temperature":0.5, "top_p":0.9 }
response=request.post(url,data=data)
it fails with an error. rest of the stuff semingly works but this one is ^^