Skip to content

Commit

Permalink
remove verify skip
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-rehuang committed Jun 24, 2024
1 parent 7af4917 commit 5ade8aa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions admin_app/pages/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ def send_message(conn: SnowflakeConnection, prompt: str) -> Dict[str, Any]:
"Authorization": f'Snowflake Token="{conn.rest.token}"', # type: ignore[union-attr]
"Content-Type": "application/json",
},
# This is only to skip verifying host match.
verify=False,
)
if resp.status_code < 400:
json_resp: Dict[str, Any] = resp.json()
Expand Down

0 comments on commit 5ade8aa

Please sign in to comment.