File tree Expand file tree Collapse file tree 4 files changed +7
-4
lines changed
Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 9090 GITHUB_TOKEN : ${{ github.token }}
9191 run : >-
9292 gh release create
93- 'v0.2.1 '
93+ 'v0.2.2 '
9494 --repo '${{ github.repository }}'
9595 --notes ""
9696
@@ -102,5 +102,5 @@ jobs:
102102 # sigstore-produced signatures and certificates.
103103 run : >-
104104 gh release upload
105- 'v0.2.1 ' dist/**
105+ 'v0.2.2 ' dist/**
106106 --repo '${{ github.repository }}'
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ authors = [
1010]
1111description = " Documentation for `weco`, a CLI for using Weco AI's code optimizer."
1212readme = " README.md"
13- version = " 0.2.1 "
13+ version = " 0.2.2 "
1414license = {text = " MIT" }
1515requires-python = " >=3.12"
1616dependencies = [" requests" , " rich" ]
Original file line number Diff line number Diff line change 11# DO NOT EDIT
2- __pkg_version__ = "0.2.1 "
2+ __pkg_version__ = "0.2.2 "
33__api_version__ = "v1"
44__base_url__ = f"https://api.aide.weco.ai/{ __api_version__ } "
Original file line number Diff line number Diff line change @@ -185,6 +185,9 @@ def main() -> None:
185185 # Save next solution (.runs/<session-id>/step_<step>.py)
186186 write_to_path (fp = runs_dir / f"step_{ step } .py" , content = eval_and_next_solution_response ["code" ])
187187
188+ # Write the next solution to the source file
189+ write_to_path (fp = source_fp , content = eval_and_next_solution_response ["code" ])
190+
188191 # Get the optimization session status for
189192 # the best solution, its score, and the history to plot the tree
190193 status_response = get_optimization_session_status (console = console , session_id = session_id , include_history = True )
You can’t perform that action at this time.
0 commit comments