muryshev commited on
Commit
4590769
·
1 Parent(s): e479ece
Files changed (1) hide show
  1. lib/llm_3_deepinfra.py +1 -1
lib/llm_3_deepinfra.py CHANGED
@@ -129,7 +129,7 @@ async def getResponse(prompt):
129
  }
130
 
131
  async with httpx.AsyncClient() as client:
132
- request = create_request(None, prompt, system_prompt=None)
133
  response = await client.post(f"https://api.deepinfra.com/v1/openai/chat/completions", headers=create_headers(), json=request, timeout=httpx.Timeout(connect=5.0, read=60.0, write=180, pool=10))
134
  if response.status_code == 200:
135
  return response.json()["choices"][0]["message"]["content"]
 
129
  }
130
 
131
  async with httpx.AsyncClient() as client:
132
+ request = create_request(prompt, system_prompt=None)
133
  response = await client.post(f"https://api.deepinfra.com/v1/openai/chat/completions", headers=create_headers(), json=request, timeout=httpx.Timeout(connect=5.0, read=60.0, write=180, pool=10))
134
  if response.status_code == 200:
135
  return response.json()["choices"][0]["message"]["content"]