Skip to content

Commit

Permalink
feat(agents-api): union the headers from arguments and setup for api …
Browse files Browse the repository at this point in the history
…call execution
  • Loading branch information
Vedantsahai18 committed Nov 7, 2024
1 parent 325145f commit 1e5d2d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agents-api/agents_api/activities/excecute_api_call.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async def execute_api_call(
response = await client.request(
method=api_call.method,
url=arg_url or str(api_call.url),
headers=arg_headers or api_call.headers,
headers={**(arg_headers or {}), **(api_call.headers or {})},
follow_redirects=api_call.follow_redirects,
**request_args,
)
Expand Down

0 comments on commit 1e5d2d2

Please sign in to comment.