auto-coder 0.1.318__py3-none-any.whl → 0.1.319__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: auto-coder
3
- Version: 0.1.318
3
+ Version: 0.1.319
4
4
  Summary: AutoCoder: AutoCoder
5
5
  Author: allwefantasy
6
6
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
@@ -1,5 +1,5 @@
1
1
  autocoder/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- autocoder/auto_coder.py,sha256=ifhdnd39tOIDu_4LdYTxjVCnwmpDoOC90RRwD8bhIKU,65983
2
+ autocoder/auto_coder.py,sha256=9nZRtLXsBsvbJixh_JE8tQCHKMEGq09mMvoeh_rWjfk,66778
3
3
  autocoder/auto_coder_lang.py,sha256=Rtupq6N3_HT7JRhDKdgCBcwRaiAnyCOR_Gsp4jUomrI,3229
4
4
  autocoder/auto_coder_rag.py,sha256=vOqwBHdK_KwMNUUc8ji_tlZ5DoALAG1rDjWAic3rM-4,34561
5
5
  autocoder/auto_coder_rag_client_mcp.py,sha256=QRxUbjc6A8UmDMQ8lXgZkjgqtq3lgKYeatJbDY6rSo0,6270
@@ -14,7 +14,7 @@ autocoder/command_parser.py,sha256=fx1g9E6GaM273lGTcJqaFQ-hoksS_Ik2glBMnVltPCE,1
14
14
  autocoder/lang.py,sha256=U6AjVV8Rs1uLyjFCZ8sT6WWuNUxMBqkXXIOs4S120uk,14511
15
15
  autocoder/models.py,sha256=AyoZ-Pzy0oyYUmWCxOIRiOImsqboSfRET7LO9-UOuxI,11172
16
16
  autocoder/run_context.py,sha256=IUfSO6_gp2Wt1blFWAmOpN0b0nDrTTk4LmtCYUBIoro,1643
17
- autocoder/version.py,sha256=bLn1tn1MLUgIKEuBlzYxnieiH1DucCjVz8SS9k9u7K0,23
17
+ autocoder/version.py,sha256=XdeDY-Hjuv17MEDfIoOH2sR0JsaUVRiEyvDOMScW4Sg,23
18
18
  autocoder/agent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
19
  autocoder/agent/auto_demand_organizer.py,sha256=URAq0gSEiHeV_W4zwhOI_83kHz0Ryfj1gcfh5jwCv_w,6501
20
20
  autocoder/agent/auto_filegroup.py,sha256=pBsAkBcpFTff-9L5OwI8xhf2xPKpl-aZwz-skF2B6dc,6296
@@ -226,9 +226,9 @@ autocoder/utils/types.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
226
226
  autocoder/utils/auto_coder_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
227
227
  autocoder/utils/auto_coder_utils/chat_stream_out.py,sha256=xuBeWD0YOckqRo8JB1WkVIMOYH6c24m7JfV4svBfPDo,15113
228
228
  autocoder/utils/chat_auto_coder_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
229
- auto_coder-0.1.318.dist-info/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
230
- auto_coder-0.1.318.dist-info/METADATA,sha256=PkQNXjiSdD944rAryDcP0xYLTHKrcNNWC1WALdYmgkM,2747
231
- auto_coder-0.1.318.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
232
- auto_coder-0.1.318.dist-info/entry_points.txt,sha256=0nzHtHH4pNcM7xq4EBA2toS28Qelrvcbrr59GqD_0Ak,350
233
- auto_coder-0.1.318.dist-info/top_level.txt,sha256=Jqc0_uJSw2GwoFQAa9iJxYns-2mWla-9ok_Y3Gcznjk,10
234
- auto_coder-0.1.318.dist-info/RECORD,,
229
+ auto_coder-0.1.319.dist-info/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
230
+ auto_coder-0.1.319.dist-info/METADATA,sha256=g5JNESA7xb3XyyMMhnNm3pHX2QEWQmQ3WcmnxCf70qs,2747
231
+ auto_coder-0.1.319.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
232
+ auto_coder-0.1.319.dist-info/entry_points.txt,sha256=0nzHtHH4pNcM7xq4EBA2toS28Qelrvcbrr59GqD_0Ak,350
233
+ auto_coder-0.1.319.dist-info/top_level.txt,sha256=Jqc0_uJSw2GwoFQAa9iJxYns-2mWla-9ok_Y3Gcznjk,10
234
+ auto_coder-0.1.319.dist-info/RECORD,,
autocoder/auto_coder.py CHANGED
@@ -1,3 +1,4 @@
1
+ from autocoder.events.event_types import EventMetadata
1
2
  import byzerllm
2
3
  import yaml
3
4
  import os
@@ -1393,6 +1394,19 @@ def main(input_args: Optional[List[str]] = None):
1393
1394
  input_cost=round(input_cost, 4),
1394
1395
  output_cost=round(output_cost, 4),
1395
1396
  speed=round(speed, 2))
1397
+ get_event_manager(args.event_file).write_result(
1398
+ EventContentCreator.create_result(content=EventContentCreator.ResultTokenStatContent(
1399
+ model_name=model_name,
1400
+ elapsed_time=elapsed_time,
1401
+ input_tokens=last_meta.input_tokens_count,
1402
+ output_tokens=last_meta.generated_tokens_count,
1403
+ input_cost=round(input_cost, 4),
1404
+ output_cost=round(output_cost, 4),
1405
+ speed=round(speed, 2)
1406
+ )).to_dict(), metadata=EventMetadata(
1407
+ action_file=args.file
1408
+ ).to_dict())
1409
+
1396
1410
 
1397
1411
  chat_history["ask_conversation"].append(
1398
1412
  {"role": "assistant", "content": assistant_response}
autocoder/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.1.318"
1
+ __version__ = "0.1.319"