simplex 1.2.79__py3-none-any.whl → 1.2.82__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 simplex might be problematic. Click here for more details.
- simplex/simplex.py +5 -4
- {simplex-1.2.79.dist-info → simplex-1.2.82.dist-info}/METADATA +1 -1
- simplex-1.2.82.dist-info/RECORD +11 -0
- simplex-1.2.79.dist-info/RECORD +0 -11
- {simplex-1.2.79.dist-info → simplex-1.2.82.dist-info}/LICENSE +0 -0
- {simplex-1.2.79.dist-info → simplex-1.2.82.dist-info}/WHEEL +0 -0
- {simplex-1.2.79.dist-info → simplex-1.2.82.dist-info}/entry_points.txt +0 -0
- {simplex-1.2.79.dist-info → simplex-1.2.82.dist-info}/top_level.txt +0 -0
simplex/simplex.py
CHANGED
|
@@ -24,7 +24,7 @@ except ImportError:
|
|
|
24
24
|
ImportWarning
|
|
25
25
|
)
|
|
26
26
|
|
|
27
|
-
# BASE_URL
|
|
27
|
+
# BASE_URL="https://simplex-dev-shreya--api-server-and-container-service-fas-bba69e.modal.run"
|
|
28
28
|
# BASE_URL = "https://simplex-dev--api-server-and-container-service-fastapi-app.modal.run"
|
|
29
29
|
BASE_URL = "https://api.simplex.sh"
|
|
30
30
|
|
|
@@ -284,7 +284,7 @@ class Simplex:
|
|
|
284
284
|
if 'succeeded' not in response.json():
|
|
285
285
|
raise ValueError(f"It looks like the agentic action failed to return a response. Did you set your api_key when creating the Simplex class?")
|
|
286
286
|
if response.json()['succeeded']:
|
|
287
|
-
return
|
|
287
|
+
return response.json()['agent_response']
|
|
288
288
|
else:
|
|
289
289
|
raise ValueError(f"Failed to complete agentic task: {response.json()['error']}")
|
|
290
290
|
|
|
@@ -424,7 +424,7 @@ class Simplex:
|
|
|
424
424
|
else:
|
|
425
425
|
raise ValueError(f"Failed to hover: {response.json()['error']}")
|
|
426
426
|
|
|
427
|
-
def type(self, text: str, override_fail_state: bool = False):
|
|
427
|
+
def type(self, text: str, is_password: bool = False, override_fail_state: bool = False):
|
|
428
428
|
if not text or not text.strip():
|
|
429
429
|
raise ValueError("text cannot be empty")
|
|
430
430
|
if not self.session_id:
|
|
@@ -433,7 +433,8 @@ class Simplex:
|
|
|
433
433
|
data = {
|
|
434
434
|
'text': text,
|
|
435
435
|
'session_id': self.session_id,
|
|
436
|
-
'override_fail_state': override_fail_state
|
|
436
|
+
'override_fail_state': override_fail_state,
|
|
437
|
+
'is_password': is_password
|
|
437
438
|
}
|
|
438
439
|
|
|
439
440
|
response = requests.post(
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
simplex/__init__.py,sha256=GDLe-j8I1LGm6oWr-4pZtUpatdH3aGAqiUYH42p0CXA,97
|
|
2
|
+
simplex/cli.py,sha256=0K_pzoVdF7vfTJPUONhFzzTvjZk2M7FZPpEONjZWJC8,2268
|
|
3
|
+
simplex/simplex.py,sha256=aeozb_CKzPZTuMlWyMiAEj4kw953kkswwyA081S30z0,40600
|
|
4
|
+
simplex/deploy/__init__.py,sha256=_JQ81F_Nu7hSAfMA691gzs6a4-8oZ-buJ9h3Au12BKw,96
|
|
5
|
+
simplex/deploy/push.py,sha256=hRAbtFZaECKnBljaOLQ5nzJ6hk7tZgc1c7QdgxKQFoY,6123
|
|
6
|
+
simplex-1.2.82.dist-info/LICENSE,sha256=Xh0SJjYZfNI71pCNMB40aKlBLLuOB0blx5xkTtufFNQ,1075
|
|
7
|
+
simplex-1.2.82.dist-info/METADATA,sha256=l5_qfadm-nY-cy9DFsMenivb3M19fB-iVNURrGLXjrE,834
|
|
8
|
+
simplex-1.2.82.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
9
|
+
simplex-1.2.82.dist-info/entry_points.txt,sha256=3veL2w3c5vxb3dm8I_M8Fs-370n1ZnvD8uu1nSsL7z8,45
|
|
10
|
+
simplex-1.2.82.dist-info/top_level.txt,sha256=cbMH1bYpN0A3gP-ecibPRHasHoqB-01T_2BUFS8p0CE,8
|
|
11
|
+
simplex-1.2.82.dist-info/RECORD,,
|
simplex-1.2.79.dist-info/RECORD
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
simplex/__init__.py,sha256=GDLe-j8I1LGm6oWr-4pZtUpatdH3aGAqiUYH42p0CXA,97
|
|
2
|
-
simplex/cli.py,sha256=0K_pzoVdF7vfTJPUONhFzzTvjZk2M7FZPpEONjZWJC8,2268
|
|
3
|
-
simplex/simplex.py,sha256=LugwirZm1IWSL22uptE5dgATf90EnmkCzvrgalYj8sk,40501
|
|
4
|
-
simplex/deploy/__init__.py,sha256=_JQ81F_Nu7hSAfMA691gzs6a4-8oZ-buJ9h3Au12BKw,96
|
|
5
|
-
simplex/deploy/push.py,sha256=hRAbtFZaECKnBljaOLQ5nzJ6hk7tZgc1c7QdgxKQFoY,6123
|
|
6
|
-
simplex-1.2.79.dist-info/LICENSE,sha256=Xh0SJjYZfNI71pCNMB40aKlBLLuOB0blx5xkTtufFNQ,1075
|
|
7
|
-
simplex-1.2.79.dist-info/METADATA,sha256=h2d-E6WbWseXS3J-d681LjTRTMgH2qEWUrKzfdE92ds,834
|
|
8
|
-
simplex-1.2.79.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
9
|
-
simplex-1.2.79.dist-info/entry_points.txt,sha256=3veL2w3c5vxb3dm8I_M8Fs-370n1ZnvD8uu1nSsL7z8,45
|
|
10
|
-
simplex-1.2.79.dist-info/top_level.txt,sha256=cbMH1bYpN0A3gP-ecibPRHasHoqB-01T_2BUFS8p0CE,8
|
|
11
|
-
simplex-1.2.79.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|