auto-coder 0.1.204__py3-none-any.whl → 0.1.205__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.

Potentially problematic release.


This version of auto-coder might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: auto-coder
3
- Version: 0.1.204
3
+ Version: 0.1.205
4
4
  Summary: AutoCoder: AutoCoder
5
5
  Author: allwefantasy
6
6
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
@@ -3,11 +3,11 @@ autocoder/auto_coder.py,sha256=IP4aSmuZh3HaIzLIThTKHF0PB38eTPUU1GDdfuJBam4,38971
3
3
  autocoder/auto_coder_lang.py,sha256=Rtupq6N3_HT7JRhDKdgCBcwRaiAnyCOR_Gsp4jUomrI,3229
4
4
  autocoder/auto_coder_rag.py,sha256=0JAQNHbrCiWJMFipr1ZIe9sTBNxSlHJj1T6tfeRt_Zc,17622
5
5
  autocoder/auto_coder_server.py,sha256=XU9b4SBH7zjPPXaTWWHV4_zJm-XYa6njuLQaplYJH_c,20290
6
- autocoder/chat_auto_coder.py,sha256=GXyCrX7GTYHYTCg2-62LYuO9Vt7Y5DdgfpCoTCQbYfE,86488
6
+ autocoder/chat_auto_coder.py,sha256=GuJzVOgscEpQ3xObo3RN5X6eJNUWYFBYC01TH_qYn54,86906
7
7
  autocoder/chat_auto_coder_lang.py,sha256=zU9VRY-l80fZnLJ0Op8A3wq27UhQHh9WcpSYU4SmnqU,8708
8
8
  autocoder/command_args.py,sha256=nmVD3xgLKKNt3fLJ4wVNUdJBtBOkfAdZ2ZmaRMlS7qg,29891
9
9
  autocoder/lang.py,sha256=Ajng6m7towmx-cvQfEHPFp43iEfddPvr8ju5GH4H8qA,13819
10
- autocoder/version.py,sha256=SlTxvgnTF5p3a0pdXcWVuAco21_eHUa0QV_CmfrzNEY,24
10
+ autocoder/version.py,sha256=D55oj5ULfDLw7xtwrHsVQheA8-tdoVBOPKnQO1dgeNw,24
11
11
  autocoder/agent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
12
  autocoder/agent/auto_tool.py,sha256=DBzip-P_T6ZtT2eHexPcusmKYD0h7ufzp7TLwXAY10E,11554
13
13
  autocoder/agent/coder.py,sha256=x6bdJwDuETGg9ebQnYlUWCxCtQcDGg73LtI6McpWslQ,72034
@@ -106,9 +106,9 @@ autocoder/utils/request_event_queue.py,sha256=r3lo5qGsB1dIjzVQ05dnr0z_9Z3zOkBdP1
106
106
  autocoder/utils/request_queue.py,sha256=nwp6PMtgTCiuwJI24p8OLNZjUiprC-TsefQrhMI-yPE,3889
107
107
  autocoder/utils/rest.py,sha256=HawagAap3wMIDROGhY1730zSZrJR_EycODAA5qOj83c,8807
108
108
  autocoder/utils/tests.py,sha256=BqphrwyycGAvs-5mhH8pKtMZdObwhFtJ5MC_ZAOiLq8,1340
109
- auto_coder-0.1.204.dist-info/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
110
- auto_coder-0.1.204.dist-info/METADATA,sha256=DDQpyvBKzzC3fplWR0n7JCSamGxTdad-0WFMUEnjbuw,2575
111
- auto_coder-0.1.204.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
112
- auto_coder-0.1.204.dist-info/entry_points.txt,sha256=0nzHtHH4pNcM7xq4EBA2toS28Qelrvcbrr59GqD_0Ak,350
113
- auto_coder-0.1.204.dist-info/top_level.txt,sha256=Jqc0_uJSw2GwoFQAa9iJxYns-2mWla-9ok_Y3Gcznjk,10
114
- auto_coder-0.1.204.dist-info/RECORD,,
109
+ auto_coder-0.1.205.dist-info/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
110
+ auto_coder-0.1.205.dist-info/METADATA,sha256=ZD3gLn49tV98cAyXzJB7r4NSoD-tx3sDx66039FbNUY,2575
111
+ auto_coder-0.1.205.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
112
+ auto_coder-0.1.205.dist-info/entry_points.txt,sha256=0nzHtHH4pNcM7xq4EBA2toS28Qelrvcbrr59GqD_0Ak,350
113
+ auto_coder-0.1.205.dist-info/top_level.txt,sha256=Jqc0_uJSw2GwoFQAa9iJxYns-2mWla-9ok_Y3Gcznjk,10
114
+ auto_coder-0.1.205.dist-info/RECORD,,
@@ -1459,7 +1459,17 @@ def commit():
1459
1459
  yaml_config["urls"] = current_files + get_llm_friendly_package_docs(
1460
1460
  return_paths=True
1461
1461
  )
1462
- args = convert_yaml_to_config(execute_file)
1462
+
1463
+ # 临时保存yaml文件,然后读取yaml文件,转换为args
1464
+ temp_yaml = os.path.join("actions", f"{uuid.uuid4()}.yml")
1465
+ try:
1466
+ with open(temp_yaml, "w") as f:
1467
+ f.write(convert_yaml_config_to_str(yaml_config=yaml_config))
1468
+ args = convert_yaml_to_config(temp_yaml)
1469
+ finally:
1470
+ if os.path.exists(temp_yaml):
1471
+ os.remove(temp_yaml)
1472
+
1463
1473
  llm = byzerllm.ByzerLLM.from_default_model(args.code_model or args.model)
1464
1474
  uncommitted_changes = git_utils.get_uncommitted_changes(".")
1465
1475
  commit_message = git_utils.generate_commit_message.with_llm(
autocoder/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.1.204"
1
+ __version__ = "0.1.205"