Skip to content

Commit 30e4c1b

Browse files
Merge pull request #37 from Axiomatic-AI/update-tools-client
Add job_id to tools helper and magic
2 parents 23a5b46 + 1bdacec commit 30e4c1b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/axiomatic/client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ def tool_exec(self, tool: str, code: str, poll_interval: int = 3, debug: bool =
223223
return result.output
224224
else:
225225
return {
226+
"job_id": job_id,
226227
"messages": output['messages'],
227228
"objects": self._load_objects_from_base64(output['objects'])
228229
}

src/axiomatic/magic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ def ax_tool(self, tool, cell):
126126
get_ipython().user_ns["tool_result"] = output
127127
else:
128128
get_ipython().user_ns["tool_result"] = {
129+
"job_id": job_id,
129130
"messages": output['messages'],
130131
"objects": self._load_objects_from_base64(output['objects'])
131132
}

0 commit comments

Comments
 (0)