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.
- pilot/generater/lmstudioai.py +2 -2
- pilot/job/impl/base_job.py +2 -1
- {pilot_linkstec-0.0.111.dist-info → pilot_linkstec-0.0.113.dist-info}/METADATA +1 -1
- {pilot_linkstec-0.0.111.dist-info → pilot_linkstec-0.0.113.dist-info}/RECORD +7 -7
- {pilot_linkstec-0.0.111.dist-info → pilot_linkstec-0.0.113.dist-info}/WHEEL +0 -0
- {pilot_linkstec-0.0.111.dist-info → pilot_linkstec-0.0.113.dist-info}/licenses/LICENSE +0 -0
- {pilot_linkstec-0.0.111.dist-info → pilot_linkstec-0.0.113.dist-info}/top_level.txt +0 -0
pilot/generater/lmstudioai.py
CHANGED
|
@@ -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
|
|
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:
|
pilot/job/impl/base_job.py
CHANGED
|
@@ -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)
|
|
@@ -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=
|
|
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=
|
|
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.
|
|
82
|
-
pilot_linkstec-0.0.
|
|
83
|
-
pilot_linkstec-0.0.
|
|
84
|
-
pilot_linkstec-0.0.
|
|
85
|
-
pilot_linkstec-0.0.
|
|
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,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|