Skip to content

Commit

Permalink
fix: missing trust_env
Browse files Browse the repository at this point in the history
  • Loading branch information
WangEdward committed May 16, 2023
1 parent 4a28535 commit e4304fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framework/llm/microsoft/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class Config:

async def check_alive(self) -> bool:
async with httpx.AsyncClient(
trust_env=True,
headers={
"Cookie": ';'.join(f"{cookie['name']}=cookie['value'])" for cookie in json.loads(self.cookie_content)),
"sec-ch-ua": r'"Chromium";v="112", "Microsoft Edge";v="112", "Not:A-Brand";v="99"',
Expand Down

0 comments on commit e4304fd

Please sign in to comment.