pilot.linkstec 0.0.111__py3-none-any.whl → 0.0.113__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.
@@ -8,7 +8,7 @@ class lmstudioAISingleton(AIBase):
8
8
  _instance: Optional['lmstudioAISingleton'] = None
9
9
  _lock = threading.Lock()
10
10
 
11
- def __new__(cls):
11
+ def __new__(cls,model_name,base_url):
12
12
  if cls._instance is None:
13
13
  with cls._lock:
14
14
  if cls._instance is None:
@@ -16,7 +16,7 @@ class lmstudioAISingleton(AIBase):
16
16
  cls._instance._initialized = False
17
17
  return cls._instance
18
18
 
19
- def __init__(self, model_name: str = "openai/gpt-oss-20b",base_url:str="http://127.0.0.1:3000/v1"):
19
+ def __init__(self, model_name,base_url):
20
20
  if not self._initialized:
21
21
  with self._lock:
22
22
  if not self._initialized:
@@ -371,6 +371,7 @@ class BaseJob(JobInterface):
371
371
 
372
372
  def change_extension_pathlib(self,file_path: str, new_ext: str) -> str:
373
373
  p = Path(file_path)
374
+ if not new_ext.startswith('.'):
375
+ new_ext = '.' + new_ext
374
376
  new_path = p.with_suffix(new_ext) # 例: ".csv"
375
- p.rename(new_path)
376
377
  return str(new_path)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pilot.linkstec
3
- Version: 0.0.111
3
+ Version: 0.0.113
4
4
  Summary: pilot of the ship, a tool for managing and deploying Python projects.
5
5
  Author-email: wanglr <wanglr1980@gmail.com>
6
6
  License-Expression: MIT
@@ -45,7 +45,7 @@ pilot/file_tool/json_file_tool.py,sha256=v-qVcyKVhFfwEg4uJWDFMZU0EWvOwkYhrwhm-ob
45
45
  pilot/generater/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
46
46
  pilot/generater/ai_base.py,sha256=V-NSC--BfW8Q5Kn56B_kfyAQL3wL7n1rR6srKgnNWJA,192
47
47
  pilot/generater/ai_interface.py,sha256=NxoXWa9NWAKkN5kGOIZsK4dCCJlOLii1d-v8PcJ9BYk,193
48
- pilot/generater/lmstudioai.py,sha256=fxPChYuyJYjGdGHEFpfzaXigThyhInXL32RCqyuHUqU,3857
48
+ pilot/generater/lmstudioai.py,sha256=2RPQ9ZisCCGc_tnybmx_rGaaNic0FqHiEpgYktZcxZ4,3818
49
49
  pilot/generater/vera.py,sha256=5TTaRwKQQMZUA-4OMuvAGdPIeOAHc2eDTsh7tluFORc,3566
50
50
  pilot/generater/vertexai.py,sha256=UBVGPGjGb63wPeo8SLpj2X5g_wIHlPVgaewIOaT2ISw,3902
51
51
  pilot/job/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -66,7 +66,7 @@ pilot/job/base/program/cobol/convert/spitPreDigit.py,sha256=uGmIKOSaxNmPkzy45i0w
66
66
  pilot/job/base/program/java/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
67
67
  pilot/job/base/program/java/generateDetailDesignPrompt.py,sha256=JcXxRQeJPpFNhli1nWOOxh8ZTdp_IN3-OoFQahHprjs,5651
68
68
  pilot/job/impl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
69
- pilot/job/impl/base_job.py,sha256=cCPr0q7GLEDYOvVyXA1HT7MXpLW8evX4x9NyHcmyAuw,15312
69
+ pilot/job/impl/base_job.py,sha256=oTc739r3FXvBWY0WJLOST10iz8Ydh3DV2ygLWZFxJzg,15362
70
70
  pilot/logging/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
71
71
  pilot/logging/logger.py,sha256=TF7eGr3w8GK5v4sf71lDt97uVoBtCgqrZuCdbMmeQBU,1815
72
72
  pilot/prompt/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -78,8 +78,8 @@ pilot/unit/impl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
78
78
  pilot/unit/impl/base_unit.py,sha256=h6PMtd4ja0wa6mttFeI7rsv92yy96UgfLIU0QSs6Dmk,2108
79
79
  pilot/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
80
80
  pilot/util/files.py,sha256=v9uzfzo3Aq4xgnUIASEZeBJoA2nD9Qz_EA3P-FwzGFQ,1896
81
- pilot_linkstec-0.0.111.dist-info/licenses/LICENSE,sha256=6kbiFSfobTZ7beWiKnHpN902HgBx-Jzgcme0SvKqhKY,1091
82
- pilot_linkstec-0.0.111.dist-info/METADATA,sha256=QohDGlAmDFL7TNQHBBLi7Wa5M-4VU56GVzoYTxAvxgY,680
83
- pilot_linkstec-0.0.111.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
84
- pilot_linkstec-0.0.111.dist-info/top_level.txt,sha256=BijnVJdXnIPxxx3s60M848seL4Z12gNUPod6KPJxK9c,6
85
- pilot_linkstec-0.0.111.dist-info/RECORD,,
81
+ pilot_linkstec-0.0.113.dist-info/licenses/LICENSE,sha256=6kbiFSfobTZ7beWiKnHpN902HgBx-Jzgcme0SvKqhKY,1091
82
+ pilot_linkstec-0.0.113.dist-info/METADATA,sha256=F2Wc5al07u-TuF0fRHFek2GFF2AqfOowS5UpO9sKx6A,680
83
+ pilot_linkstec-0.0.113.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
84
+ pilot_linkstec-0.0.113.dist-info/top_level.txt,sha256=BijnVJdXnIPxxx3s60M848seL4Z12gNUPod6KPJxK9c,6
85
+ pilot_linkstec-0.0.113.dist-info/RECORD,,