Skip to content

Commit 734d948

Browse files
committed
Release 0.0.70
1 parent 12e8f1e commit 734d948

File tree

7 files changed

+53
-3
lines changed

7 files changed

+53
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "axiomatic"
33

44
[tool.poetry]
55
name = "axiomatic"
6-
version = "0.0.69"
6+
version = "0.0.70"
77
description = ""
88
readme = "README.md"
99
authors = []

reference.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1739,6 +1739,14 @@ client.pic.circuit.generate(
17391739
<dl>
17401740
<dd>
17411741

1742+
**apply_routing:** `typing.Optional[bool]`
1743+
1744+
</dd>
1745+
</dl>
1746+
1747+
<dl>
1748+
<dd>
1749+
17421750
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
17431751

17441752
</dd>
@@ -1825,6 +1833,22 @@ client.pic.circuit.refine(
18251833
<dl>
18261834
<dd>
18271835

1836+
**max_iterations:** `typing.Optional[int]`
1837+
1838+
</dd>
1839+
</dl>
1840+
1841+
<dl>
1842+
<dd>
1843+
1844+
**apply_routing:** `typing.Optional[bool]`
1845+
1846+
</dd>
1847+
</dl>
1848+
1849+
<dl>
1850+
<dd>
1851+
18281852
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
18291853

18301854
</dd>

src/axiomatic/core/client_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def get_headers(self) -> typing.Dict[str, str]:
1616
headers: typing.Dict[str, str] = {
1717
"X-Fern-Language": "Python",
1818
"X-Fern-SDK-Name": "axiomatic",
19-
"X-Fern-SDK-Version": "0.0.69",
19+
"X-Fern-SDK-Version": "0.0.70",
2020
}
2121
headers["X-API-Key"] = self.api_key
2222
return headers

src/axiomatic/pic/circuit/client.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ def generate(
276276
*,
277277
query: str,
278278
max_iterations: typing.Optional[int] = OMIT,
279+
apply_routing: typing.Optional[bool] = OMIT,
279280
request_options: typing.Optional[RequestOptions] = None,
280281
) -> GenerateCodeResponse:
281282
"""
@@ -287,6 +288,8 @@ def generate(
287288
288289
max_iterations : typing.Optional[int]
289290
291+
apply_routing : typing.Optional[bool]
292+
290293
request_options : typing.Optional[RequestOptions]
291294
Request-specific configuration.
292295
@@ -312,6 +315,7 @@ def generate(
312315
json={
313316
"query": query,
314317
"max_iterations": max_iterations,
318+
"apply_routing": apply_routing,
315319
},
316320
headers={
317321
"content-type": "application/json",
@@ -349,6 +353,8 @@ def refine(
349353
query: str,
350354
feedback: typing.Optional[str] = OMIT,
351355
code: typing.Optional[str] = OMIT,
356+
max_iterations: typing.Optional[int] = OMIT,
357+
apply_routing: typing.Optional[bool] = OMIT,
352358
request_options: typing.Optional[RequestOptions] = None,
353359
) -> RefineCodeResponse:
354360
"""
@@ -362,6 +368,10 @@ def refine(
362368
363369
code : typing.Optional[str]
364370
371+
max_iterations : typing.Optional[int]
372+
373+
apply_routing : typing.Optional[bool]
374+
365375
request_options : typing.Optional[RequestOptions]
366376
Request-specific configuration.
367377
@@ -388,6 +398,8 @@ def refine(
388398
"query": query,
389399
"feedback": feedback,
390400
"code": code,
401+
"max_iterations": max_iterations,
402+
"apply_routing": apply_routing,
391403
},
392404
headers={
393405
"content-type": "application/json",
@@ -1031,6 +1043,7 @@ async def generate(
10311043
*,
10321044
query: str,
10331045
max_iterations: typing.Optional[int] = OMIT,
1046+
apply_routing: typing.Optional[bool] = OMIT,
10341047
request_options: typing.Optional[RequestOptions] = None,
10351048
) -> GenerateCodeResponse:
10361049
"""
@@ -1042,6 +1055,8 @@ async def generate(
10421055
10431056
max_iterations : typing.Optional[int]
10441057
1058+
apply_routing : typing.Optional[bool]
1059+
10451060
request_options : typing.Optional[RequestOptions]
10461061
Request-specific configuration.
10471062
@@ -1075,6 +1090,7 @@ async def main() -> None:
10751090
json={
10761091
"query": query,
10771092
"max_iterations": max_iterations,
1093+
"apply_routing": apply_routing,
10781094
},
10791095
headers={
10801096
"content-type": "application/json",
@@ -1112,6 +1128,8 @@ async def refine(
11121128
query: str,
11131129
feedback: typing.Optional[str] = OMIT,
11141130
code: typing.Optional[str] = OMIT,
1131+
max_iterations: typing.Optional[int] = OMIT,
1132+
apply_routing: typing.Optional[bool] = OMIT,
11151133
request_options: typing.Optional[RequestOptions] = None,
11161134
) -> RefineCodeResponse:
11171135
"""
@@ -1125,6 +1143,10 @@ async def refine(
11251143
11261144
code : typing.Optional[str]
11271145
1146+
max_iterations : typing.Optional[int]
1147+
1148+
apply_routing : typing.Optional[bool]
1149+
11281150
request_options : typing.Optional[RequestOptions]
11291151
Request-specific configuration.
11301152
@@ -1159,6 +1181,8 @@ async def main() -> None:
11591181
"query": query,
11601182
"feedback": feedback,
11611183
"code": code,
1184+
"max_iterations": max_iterations,
1185+
"apply_routing": apply_routing,
11621186
},
11631187
headers={
11641188
"content-type": "application/json",

src/axiomatic/types/computation_arguments_value.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
import typing
44

5-
ComputationArgumentsValue = typing.Union[float, int, str, typing.List[typing.Optional[typing.Any]]]
5+
ComputationArgumentsValue = typing.Union[float, int, str, bool, typing.List[typing.Optional[typing.Any]]]

src/axiomatic/types/generate_code_response.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ class GenerateCodeResponse(UniversalBaseModel):
1010
raw_content: str
1111
code: str
1212
outcome_success: bool
13+
routing_success: bool
1314
feedback_text: typing.Optional[str] = None
1415
thought_text: typing.Optional[str] = None
1516

src/axiomatic/types/refine_code_response.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ class RefineCodeResponse(UniversalBaseModel):
1010
raw_content: str
1111
code: str
1212
outcome_success: bool
13+
routing_success: bool
1314
feedback_text: typing.Optional[str] = None
1415
thought_text: typing.Optional[str] = None
1516

0 commit comments

Comments
 (0)