Skip to content

Commit ae649f1

Browse files
fix: use static template for logfire.info to avoid format string errors
1 parent 25fd6cb commit ae649f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/policyengine_api/agent_sandbox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def get_trace_headers() -> dict:
390390
return {}
391391

392392
def log(msg: str) -> None:
393-
logfire.info(msg, call_id=call_id)
393+
logfire.info("agent_log", message=msg, call_id=call_id)
394394
print(msg)
395395
if call_id:
396396
try:

0 commit comments

Comments
 (0)