Skip to content
This repository has been archived by the owner on Jan 5, 2025. It is now read-only.

Commit

Permalink
Extract paylod from acitons
Browse files Browse the repository at this point in the history
  • Loading branch information
gharbat committed Dec 10, 2023
1 parent 01875bb commit 9451e6a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions llm-server/utils/make_api_call.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,11 @@ def make_api_request(
path_params,
query_params,
headers,
servers,
) -> Response:
url = ""
try:
endpoint = replace_url_placeholders(endpoint, path_params)
url: str = servers[0] + endpoint
url: str = endpoint
# Create a session and configure it with headers
session = requests.Session()

Expand Down

0 comments on commit 9451e6a

Please sign in to comment.