auto-coder 0.1.194__py3-none-any.whl → 0.1.195__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.194
3
+ Version: 0.1.195
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=2tcO2ettrb6zla3mxkXOh7g3BZcXeycF0lEOtI0yIvA,38233
2
+ autocoder/auto_coder.py,sha256=PbnxxtG5SO_6w9G5P3zvK5munLoFDp7wXHUri3x-jaU,38855
3
3
  autocoder/auto_coder_lang.py,sha256=Rtupq6N3_HT7JRhDKdgCBcwRaiAnyCOR_Gsp4jUomrI,3229
4
4
  autocoder/auto_coder_rag.py,sha256=H75N9rk5rB1u80oDWsPS_DYc2djQcFLOpjklmlGmag0,16579
5
5
  autocoder/auto_coder_server.py,sha256=XU9b4SBH7zjPPXaTWWHV4_zJm-XYa6njuLQaplYJH_c,20290
@@ -7,7 +7,7 @@ autocoder/chat_auto_coder.py,sha256=iNqBbNxSqX_rdVA2aTH43ldIEnYsDNNHMfnu8NEJQ9E,
7
7
  autocoder/chat_auto_coder_lang.py,sha256=QYtu5gWEQmWKVovR_qUZ8plySZarNFX_Onk-1vN9IiA,8524
8
8
  autocoder/command_args.py,sha256=WEjQMbamhwfVhEsyeKhMLNzaGAsqf9bBT1kwJUciU7U,27120
9
9
  autocoder/lang.py,sha256=LIqqksjHdCWUEf4lowRbM_hHCJePrejbCB0xyCQzF-o,12971
10
- autocoder/version.py,sha256=7C5rDo-75NwcyeGTUx1R6Xegcnikf7FnjcfjbTZNfuM,24
10
+ autocoder/version.py,sha256=h-aGZtlsN_Xjw_sMbs_yognwPDy0_xWrDueJrhZh0R0,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=dnITYHqkcOip8zV4lywbkYNH9w7Q3qyYaUArJ4WPrTs,866
@@ -104,9 +104,9 @@ autocoder/utils/request_event_queue.py,sha256=r3lo5qGsB1dIjzVQ05dnr0z_9Z3zOkBdP1
104
104
  autocoder/utils/request_queue.py,sha256=nwp6PMtgTCiuwJI24p8OLNZjUiprC-TsefQrhMI-yPE,3889
105
105
  autocoder/utils/rest.py,sha256=3tXA8KZG6jKz_tddHNLGx77Icee88WcUeesfNsgPno4,8790
106
106
  autocoder/utils/tests.py,sha256=BqphrwyycGAvs-5mhH8pKtMZdObwhFtJ5MC_ZAOiLq8,1340
107
- auto_coder-0.1.194.dist-info/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
108
- auto_coder-0.1.194.dist-info/METADATA,sha256=sq64fZaITjeAvY_CFNgBqbJd3GNW7sPUdjFG4SLwc3c,2352
109
- auto_coder-0.1.194.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
110
- auto_coder-0.1.194.dist-info/entry_points.txt,sha256=0nzHtHH4pNcM7xq4EBA2toS28Qelrvcbrr59GqD_0Ak,350
111
- auto_coder-0.1.194.dist-info/top_level.txt,sha256=Jqc0_uJSw2GwoFQAa9iJxYns-2mWla-9ok_Y3Gcznjk,10
112
- auto_coder-0.1.194.dist-info/RECORD,,
107
+ auto_coder-0.1.195.dist-info/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
108
+ auto_coder-0.1.195.dist-info/METADATA,sha256=bEQaQvtoV2sG8GchkDOPR1jbo2Py_GqwfxzkTcuLoB0,2352
109
+ auto_coder-0.1.195.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
110
+ auto_coder-0.1.195.dist-info/entry_points.txt,sha256=0nzHtHH4pNcM7xq4EBA2toS28Qelrvcbrr59GqD_0Ak,350
111
+ auto_coder-0.1.195.dist-info/top_level.txt,sha256=Jqc0_uJSw2GwoFQAa9iJxYns-2mWla-9ok_Y3Gcznjk,10
112
+ auto_coder-0.1.195.dist-info/RECORD,,
autocoder/auto_coder.py CHANGED
@@ -820,12 +820,22 @@ def main(input_args: Optional[List[str]] = None):
820
820
  border_style="blue",
821
821
  expand=False,
822
822
  )
823
+ )
824
+ if args.request_id:
825
+ request_queue.add_request(
826
+ args.request_id,
827
+ RequestValue(
828
+ value=StreamValue(value=[chat_content]), status=RequestOption.RUNNING
829
+ ),
823
830
  )
824
- return
825
- # Save chat content to file
826
- with open(args.target_file, "w") as f:
827
- f.write(chat_content)
828
-
831
+ request_queue.add_request(
832
+ args.request_id,
833
+ RequestValue(
834
+ value=StreamValue(value=[""]), status=RequestOption.COMPLETED
835
+ ),
836
+ )
837
+ return {}
838
+
829
839
  lines = []
830
840
  while True:
831
841
  line = prompt(FormattedText(
@@ -844,6 +854,9 @@ def main(input_args: Optional[List[str]] = None):
844
854
 
845
855
  result = "\n".join(lines)
846
856
 
857
+ with open(args.target_file, "w") as f:
858
+ f.write(chat_content)
859
+
847
860
  # Update chat history with user's response
848
861
  chat_history["ask_conversation"].append(
849
862
  {"role": "assistant", "content": result}
autocoder/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.1.194"
1
+ __version__ = "0.1.195"