bugfix
This commit is contained in:
parent
1b53d9e81d
commit
818242c7a9
@ -142,6 +142,7 @@ class LlmProxy:
|
|||||||
_data = self.datalize(mydata, params)
|
_data = self.datalize(mydata, params)
|
||||||
response_type = RESPONSE_STREAM
|
response_type = RESPONSE_STREAM
|
||||||
hc = HttpClient()
|
hc = HttpClient()
|
||||||
|
print(f'{url=},{method=},{_params=},{_data=},{_headers=}')
|
||||||
resp_data = await hc.request(url, method, response_type=response_type,
|
resp_data = await hc.request(url, method, response_type=response_type,
|
||||||
params=_params,
|
params=_params,
|
||||||
data=None if _data == {} else json.dumps(_data),
|
data=None if _data == {} else json.dumps(_data),
|
||||||
|
Loading…
Reference in New Issue
Block a user