auto-coder 0.1.333__py3-none-any.whl → 0.1.334__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.333
3
+ Version: 0.1.334
4
4
  Summary: AutoCoder: AutoCoder
5
5
  Author: allwefantasy
6
6
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
@@ -14,7 +14,7 @@ autocoder/command_parser.py,sha256=fx1g9E6GaM273lGTcJqaFQ-hoksS_Ik2glBMnVltPCE,1
14
14
  autocoder/lang.py,sha256=PFtATuOhHRnfpqHQkXr6p4C893JvpsgwTMif3l-GEi0,14321
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=gR3Vjr8bvXetgzl9FG_ppRi16UHuqrJxfSLEsljIxOA,23
17
+ autocoder/version.py,sha256=Wq9nXLDGcuMpErCMrt-HPunlHNjMUAxThHVD6-CS8zw,23
18
18
  autocoder/agent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
19
  autocoder/agent/agentic_filter.py,sha256=yL7ufHJWIJpwmsd5Z5IAdnLopYN89JgB8DlC7NhTYFU,38780
20
20
  autocoder/agent/auto_demand_organizer.py,sha256=URAq0gSEiHeV_W4zwhOI_83kHz0Ryfj1gcfh5jwCv_w,6501
@@ -114,7 +114,7 @@ autocoder/compilers/compiler_config_manager.py,sha256=tNwHEk3t2o2L7ZVpHICDEOOIXR
114
114
  autocoder/compilers/compiler_factory.py,sha256=SLUdvBZdqr_pkY-lfArHCuBVjtiMoIs9uxCGztYj6Ro,10950
115
115
  autocoder/compilers/java_compiler.py,sha256=gR-_GB0_A1ZU3cTgRu1H9VPtLPmCWYo2UwBLEZIMvXU,26362
116
116
  autocoder/compilers/models.py,sha256=ZqGQhiF5vfsK71xzLlsCUS_q_Oune3mqokJ8S8ZOPSc,9527
117
- autocoder/compilers/provided_compiler.py,sha256=DgkaQuvpvSUk_4pMYNByrH-M6t3rgK-p5ciX4psdvyM,14541
117
+ autocoder/compilers/provided_compiler.py,sha256=cKfLNp9cMOpdj347ZwAOe54gifjopVMAaw5bb3rCfyY,14548
118
118
  autocoder/compilers/python_compiler.py,sha256=2w2OM_6H0ZWvaquQpDo1x4VciBWczCZkfwmEyJEEpn8,14389
119
119
  autocoder/compilers/reactjs_compiler.py,sha256=h1_9OqiA8ca84-u3DIxQifvtH-2FSsKFWmhwALzNhqM,18159
120
120
  autocoder/compilers/shadow_compiler.py,sha256=ARx2DBr1U521u7kKnZqg3GbLMi8ggGaX5D7VEckej3U,1699
@@ -131,7 +131,7 @@ autocoder/dispacher/actions/plugins/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQ
131
131
  autocoder/dispacher/actions/plugins/action_regex_project.py,sha256=sbK9yFRaq8RytwWG-NxuJJMQDgsZwBjST3StObMQksc,7811
132
132
  autocoder/dispacher/actions/plugins/action_translate.py,sha256=GEn7dZA22jy5WyzINomjmzzB795p2Olg-CJla97lRF8,7744
133
133
  autocoder/events/__init__.py,sha256=1x_juwr9Ows2RADDa2LyI4QlmPxOVOXZeLO1cht-slM,1443
134
- autocoder/events/event_content.py,sha256=g55Z55s-ud9IzYp6u7BnLSsHHAAg34w1jrHo-C1w68A,12280
134
+ autocoder/events/event_content.py,sha256=eLHf5M1BifSqhzzEBgAWKn3JD5_z_1mWeNdZ53TpMqk,12240
135
135
  autocoder/events/event_manager.py,sha256=WsEog4diXPsidCcN-Ycm18iPbX21PBibkcmjee-aRcQ,11739
136
136
  autocoder/events/event_manager_singleton.py,sha256=8aBp97fgbas0KYrpHbljTg2n4RcWd85SOgQITu47ZWA,8809
137
137
  autocoder/events/event_store.py,sha256=y6tT3P-o3yhDptrKi-UmqI_ZBNg7v21FriI3f7lo_ME,12709
@@ -238,11 +238,11 @@ autocoder/utils/tests.py,sha256=BqphrwyycGAvs-5mhH8pKtMZdObwhFtJ5MC_ZAOiLq8,1340
238
238
  autocoder/utils/thread_utils.py,sha256=VQCDrkTdij_5-01FE_X2Fprz_0uA-GahUY4h7DnAlw0,5426
239
239
  autocoder/utils/types.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
240
240
  autocoder/utils/auto_coder_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
241
- autocoder/utils/auto_coder_utils/chat_stream_out.py,sha256=xuBeWD0YOckqRo8JB1WkVIMOYH6c24m7JfV4svBfPDo,15113
241
+ autocoder/utils/auto_coder_utils/chat_stream_out.py,sha256=KW0mlmcHlStXi8-_6fXZ2-ifeJ5mgP0OV7DQFzCtIsw,14008
242
242
  autocoder/utils/chat_auto_coder_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
243
- auto_coder-0.1.333.dist-info/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
244
- auto_coder-0.1.333.dist-info/METADATA,sha256=47OVdUScaSXgezpPf8UF0SDziICztbvaMaJNB_j2X_o,2747
245
- auto_coder-0.1.333.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
246
- auto_coder-0.1.333.dist-info/entry_points.txt,sha256=0nzHtHH4pNcM7xq4EBA2toS28Qelrvcbrr59GqD_0Ak,350
247
- auto_coder-0.1.333.dist-info/top_level.txt,sha256=Jqc0_uJSw2GwoFQAa9iJxYns-2mWla-9ok_Y3Gcznjk,10
248
- auto_coder-0.1.333.dist-info/RECORD,,
243
+ auto_coder-0.1.334.dist-info/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
244
+ auto_coder-0.1.334.dist-info/METADATA,sha256=eTg0WrtFQ09DHjxS4hqAOTIuTvBMKg4tx1ndQdq-7cE,2747
245
+ auto_coder-0.1.334.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
246
+ auto_coder-0.1.334.dist-info/entry_points.txt,sha256=0nzHtHH4pNcM7xq4EBA2toS28Qelrvcbrr59GqD_0Ak,350
247
+ auto_coder-0.1.334.dist-info/top_level.txt,sha256=Jqc0_uJSw2GwoFQAa9iJxYns-2mWla-9ok_Y3Gcznjk,10
248
+ auto_coder-0.1.334.dist-info/RECORD,,
@@ -318,7 +318,7 @@ class ProvidedCompiler(BaseCompiler):
318
318
  result = ProjectCompilationResult(
319
319
  project_path=project_path,
320
320
  success=compile_result['success'],
321
- error_message=compile_result['error_message'],
321
+ error_message=compile_result.get('error_message',''),
322
322
  file_results={
323
323
  "1":FileCompilationResult(
324
324
  file_path="1",
@@ -99,7 +99,7 @@ class ResultContent(BaseEventContent):
99
99
  }
100
100
  }
101
101
  )
102
- ## ResultContent.content 字段的类型
102
+
103
103
  ## begin===============================
104
104
  class ResultTokenStatContent(BaseModel):
105
105
  model_name:str = ""
@@ -350,45 +350,8 @@ def stream_out(
350
350
  "Generation was cancelled",
351
351
  title=f"Cancelled[ {panel_title} ]",
352
352
  border_style="yellow"
353
- ))
354
-
355
- if request_id and request_queue:
356
- request_queue.add_request(
357
- request_id,
358
- RequestValue(
359
- value=StreamValue(value=["Operation was cancelled"]),
360
- status=RequestOption.FAILED
361
- ),
362
- )
363
- raise cancel_exc
364
-
365
- except Exception as e:
366
- console.print(Panel(
367
- f"Error: {str(e)}",
368
- title=f"Error[ {panel_title} ]",
369
- border_style="red"
370
- ))
371
- # import traceback
372
- # traceback.print_exc()
373
-
374
- if request_id and request_queue:
375
- request_queue.add_request(
376
- request_id,
377
- RequestValue(
378
- value=StreamValue(value=[str(e)]),
379
- status=RequestOption.FAILED
380
- ),
381
- )
382
-
383
- finally:
384
- if request_id and request_queue:
385
- request_queue.add_request(
386
- request_id,
387
- RequestValue(
388
- value=StreamValue(value=[""]),
389
- status=RequestOption.COMPLETED
390
- ),
391
- )
353
+ ))
354
+ raise cancel_exc
392
355
 
393
356
  if last_meta:
394
357
  last_meta.first_token_time = first_token_time
autocoder/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.1.333"
1
+ __version__ = "0.1.334"