code-puppy 0.0.28__py3-none-any.whl → 0.0.29__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- code_puppy/agent.py +2 -1
- code_puppy/tools/file_modifications.py +2 -2
- {code_puppy-0.0.28.dist-info → code_puppy-0.0.29.dist-info}/METADATA +1 -1
- {code_puppy-0.0.28.dist-info → code_puppy-0.0.29.dist-info}/RECORD +8 -8
- {code_puppy-0.0.28.data → code_puppy-0.0.29.data}/data/code_puppy/models.json +0 -0
- {code_puppy-0.0.28.dist-info → code_puppy-0.0.29.dist-info}/WHEEL +0 -0
- {code_puppy-0.0.28.dist-info → code_puppy-0.0.29.dist-info}/entry_points.txt +0 -0
- {code_puppy-0.0.28.dist-info → code_puppy-0.0.29.dist-info}/licenses/LICENSE +0 -0
code_puppy/agent.py
CHANGED
|
@@ -170,7 +170,7 @@ def write_to_file(
|
|
|
170
170
|
"success": True,
|
|
171
171
|
"path": file_path,
|
|
172
172
|
"message": f"File '{file_path}' {action} successfully.",
|
|
173
|
-
"diff":
|
|
173
|
+
"diff": trimmed_content,
|
|
174
174
|
"changed": True,
|
|
175
175
|
}
|
|
176
176
|
|
|
@@ -179,7 +179,7 @@ def write_to_file(
|
|
|
179
179
|
return {"error": f"Error writing to file '{path}': {str(e)}"}
|
|
180
180
|
|
|
181
181
|
|
|
182
|
-
@code_generation_agent.tool
|
|
182
|
+
@code_generation_agent.tool(retries=5)
|
|
183
183
|
def replace_in_file(
|
|
184
184
|
context: RunContext,
|
|
185
185
|
path: str,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
code_puppy/__init__.py,sha256=orgffM-uGp8g1XCqXGKWaFB4tCCz8TVgsLMPKCOGNx0,81
|
|
2
|
-
code_puppy/agent.py,sha256=
|
|
2
|
+
code_puppy/agent.py,sha256=iq1pLp6IQfZbcg2Y6W2WcaL7nVtZa_x495i-oagBz9s,1648
|
|
3
3
|
code_puppy/agent_prompts.py,sha256=UFOCoSW0yljp1q8_K7sS610BANuTnbSJuG_otWmtyfw,5002
|
|
4
4
|
code_puppy/main.py,sha256=jlwtAMTEHtYV1sg6DYIu0-yDcQxK_N0i4AkLIrcivUA,8338
|
|
5
5
|
code_puppy/model_factory.py,sha256=IAiOBWxL2LC8PZ3xzesRvKsLAOuZBgWzn5Mh_gT8rRM,8466
|
|
@@ -10,12 +10,12 @@ code_puppy/command_line/prompt_toolkit_completion.py,sha256=odmtfAhGbuvApk1oF0Wp
|
|
|
10
10
|
code_puppy/tools/__init__.py,sha256=u_rvA4bTcx2r9QHe0nrFPVtF9grDbPaW3lz0ojqca5k,157
|
|
11
11
|
code_puppy/tools/command_runner.py,sha256=u32BUAuG05l51gZAizBU1YXsCeAZX7vuJaHXXFXlmJY,7555
|
|
12
12
|
code_puppy/tools/common.py,sha256=UpMqeJ0C8i0pkue1AHnnyyX0bFJ9zZeJ7HBR6yhuA8A,54
|
|
13
|
-
code_puppy/tools/file_modifications.py,sha256=
|
|
13
|
+
code_puppy/tools/file_modifications.py,sha256=Ma3Y6lcNaVbGcjuqvNm1cB9xTSzIRfS_DMGpgBz8QW0,13012
|
|
14
14
|
code_puppy/tools/file_operations.py,sha256=dXSHVC5LvJztZrCbwWgPKqRhd0IxlrX0hSkkXT7wgNc,12163
|
|
15
15
|
code_puppy/tools/web_search.py,sha256=Am-3n24fKPqK6dnCDvUz-52mOrMaAROKKvejoQVSZI0,909
|
|
16
|
-
code_puppy-0.0.
|
|
17
|
-
code_puppy-0.0.
|
|
18
|
-
code_puppy-0.0.
|
|
19
|
-
code_puppy-0.0.
|
|
20
|
-
code_puppy-0.0.
|
|
21
|
-
code_puppy-0.0.
|
|
16
|
+
code_puppy-0.0.29.data/data/code_puppy/models.json,sha256=Bt4rkn2tHR4UA8kanovpxtW0_-T5TooKrtUpzJNipmo,2212
|
|
17
|
+
code_puppy-0.0.29.dist-info/METADATA,sha256=aS9jH-bdCqP8lkAENib6zz4c6gYB855fqyKNj9oFi10,4684
|
|
18
|
+
code_puppy-0.0.29.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
19
|
+
code_puppy-0.0.29.dist-info/entry_points.txt,sha256=d8YkBvIUxF-dHNJAj-x4fPEqizbY5d_TwvYpc01U5kw,58
|
|
20
|
+
code_puppy-0.0.29.dist-info/licenses/LICENSE,sha256=31u8x0SPgdOq3izJX41kgFazWsM43zPEF9eskzqbJMY,1075
|
|
21
|
+
code_puppy-0.0.29.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|