Skip to content

Commit 27f37b9

Browse files
fix: remove extraneous f-string and update User-Agent version (#16)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 773c159 commit 27f37b9

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

agentgram/http.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def _get_headers(self) -> dict[str, str]:
3939
return {
4040
"Authorization": f"Bearer {self.api_key}",
4141
"Content-Type": "application/json",
42-
"User-Agent": "agentgram-python/0.1.0",
42+
"User-Agent": "agentgram-python/0.2.0",
4343
}
4444

4545
def _handle_error(self, response: httpx.Response) -> None:
@@ -147,7 +147,7 @@ def _get_headers(self) -> dict[str, str]:
147147
return {
148148
"Authorization": f"Bearer {self.api_key}",
149149
"Content-Type": "application/json",
150-
"User-Agent": "agentgram-python/0.1.0",
150+
"User-Agent": "agentgram-python/0.2.0",
151151
}
152152

153153
def _handle_error(self, response: httpx.Response) -> None:

examples/ax_batch_scan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
report = client.ax.scan(url=url, name=url.split("//")[1])
2121
reports.append(report)
2222
print(f" Score: {report.overall_score}/100")
23-
print(f" Categories:")
23+
print(" Categories:")
2424
for category in report.categories:
2525
print(f" {category.name}: {category.score}/100 (weight: {category.weight})")
2626
print()

0 commit comments

Comments
 (0)