Skip to content

Commit 6c919b0

Browse files
authored
Merge pull request #344 from desi003/set-request-origin-agentql
Set X-TF-Request-Origin header in AgentQL tool
2 parents 7f52774 + 12ec250 commit 6c919b0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

agentstack/_tools/agentql/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,11 @@ def extract_data(
5959
},
6060
}
6161

62-
headers = {"X-API-Key": f"{API_KEY}", "Content-Type": "application/json"}
62+
headers = {
63+
"X-API-Key": f"{API_KEY}",
64+
"Content-Type": "application/json",
65+
"X-TF-Request-Origin": "agentstack",
66+
}
6367

6468
try:
6569
response = httpx.post(

0 commit comments

Comments
 (0)