Skip to content

Commit

Permalink
Get token update
Browse files Browse the repository at this point in the history
  • Loading branch information
singankit committed Jul 2, 2024
1 parent f08ed94 commit d02cd72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def request_with_retry(
if headers is None:
headers = {}
headers["User-Agent"] = f"promptflow/{VERSION}"
headers["Authorization"] = f"Bearer {self._get_token().token}"
headers["Authorization"] = f"Bearer {self._get_token()}"
retry = Retry(
total=EvalRun._MAX_RETRIES,
connect=EvalRun._MAX_RETRIES,
Expand Down

0 comments on commit d02cd72

Please sign in to comment.