supervaizer 0.10.6__py3-none-any.whl → 0.10.7__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.
- supervaizer/__version__.py +1 -1
- supervaizer/examples/controller_template.py +21 -23
- supervaizer/server.py +2 -2
- {supervaizer-0.10.6.dist-info → supervaizer-0.10.7.dist-info}/METADATA +1 -1
- {supervaizer-0.10.6.dist-info → supervaizer-0.10.7.dist-info}/RECORD +9 -9
- /supervaizer/{deploy → admin}/templates/index.html +0 -0
- {supervaizer-0.10.6.dist-info → supervaizer-0.10.7.dist-info}/WHEEL +0 -0
- {supervaizer-0.10.6.dist-info → supervaizer-0.10.7.dist-info}/entry_points.txt +0 -0
- {supervaizer-0.10.6.dist-info → supervaizer-0.10.7.dist-info}/licenses/LICENSE.md +0 -0
supervaizer/__version__.py
CHANGED
|
@@ -34,28 +34,26 @@ DEV_PUBLIC_URL = "https://myagent-dev.loca.lt"
|
|
|
34
34
|
PROD_PUBLIC_URL = "https://myagent.cloud-hosting.net:8001"
|
|
35
35
|
|
|
36
36
|
# Define the parameters and secrets expected by the agent
|
|
37
|
-
agent_parameters: ParametersSetup | None = ParametersSetup.from_list(
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
]
|
|
58
|
-
)
|
|
37
|
+
agent_parameters: ParametersSetup | None = ParametersSetup.from_list([
|
|
38
|
+
Parameter(
|
|
39
|
+
name="OPEN_API_KEY",
|
|
40
|
+
description="OpenAPI Key",
|
|
41
|
+
is_environment=True,
|
|
42
|
+
is_secret=True,
|
|
43
|
+
),
|
|
44
|
+
Parameter(
|
|
45
|
+
name="SERPER_API",
|
|
46
|
+
description="Server API key updated",
|
|
47
|
+
is_environment=True,
|
|
48
|
+
is_secret=True,
|
|
49
|
+
),
|
|
50
|
+
Parameter(
|
|
51
|
+
name="COMPETITOR_SUMMARY_URL",
|
|
52
|
+
description="Competitor Summary URL",
|
|
53
|
+
is_environment=True,
|
|
54
|
+
is_secret=False,
|
|
55
|
+
),
|
|
56
|
+
])
|
|
59
57
|
|
|
60
58
|
# Define the method used to start a job
|
|
61
59
|
job_start_method: AgentMethod = AgentMethod(
|
|
@@ -180,7 +178,7 @@ agent: Agent = Agent(
|
|
|
180
178
|
account: Account = Account(
|
|
181
179
|
workspace_id=os.getenv("SUPERVAIZE_WORKSPACE_ID") or "dummy_workspace_id",
|
|
182
180
|
api_key=os.getenv("SUPERVAIZE_API_KEY") or "dummy_api_key",
|
|
183
|
-
api_url=os.getenv("SUPERVAIZE_API_URL") or "https://
|
|
181
|
+
api_url=os.getenv("SUPERVAIZE_API_URL") or "https://app.supervaize.com",
|
|
184
182
|
)
|
|
185
183
|
|
|
186
184
|
# Define the supervaizer server capabilities
|
supervaizer/server.py
CHANGED
|
@@ -379,9 +379,9 @@ class Server(ServerAbstract):
|
|
|
379
379
|
# Save server info to storage for admin interface
|
|
380
380
|
save_server_info_to_storage(self)
|
|
381
381
|
|
|
382
|
-
# Home page (template in
|
|
382
|
+
# Home page (template in admin/templates)
|
|
383
383
|
_home_templates = Jinja2Templates(
|
|
384
|
-
directory=str(Path(__file__).parent / "
|
|
384
|
+
directory=str(Path(__file__).parent / "admin" / "templates")
|
|
385
385
|
)
|
|
386
386
|
|
|
387
387
|
@self.app.get("/", response_class=HTMLResponse)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
supervaizer/__init__.py,sha256=eBbGjduMBH-FDjcGlSqeR4Kf4uo60Cf1DrRur8VGkJo,2341
|
|
2
|
-
supervaizer/__version__.py,sha256=
|
|
2
|
+
supervaizer/__version__.py,sha256=1R9B16uCS3ZHqPie7nLzq_rpRlT7BczW3iMuyvfmqAA,348
|
|
3
3
|
supervaizer/account.py,sha256=-K1pd590Lp2TncZ2jn442kBLxnm482G3WnQavVFxZ1s,11102
|
|
4
4
|
supervaizer/account_service.py,sha256=z4lw8qp8XvCrU6Ndf4VHRnQwY_071410ts5_7E8YDAs,3046
|
|
5
5
|
supervaizer/agent.py,sha256=Clenvdr_v-lV7_v6YCcevp8dj5JUNvpTWrBZBYM82lg,36509
|
|
@@ -13,7 +13,7 @@ supervaizer/job_service.py,sha256=22Qe7Z5_u3R28tcNH_21YMIYciWFtJaM7I-MXtIhBMU,46
|
|
|
13
13
|
supervaizer/lifecycle.py,sha256=5CunJN7MsM5blyNiFMJMLFDUBmTmmAsPE24QC-gSbYA,13958
|
|
14
14
|
supervaizer/parameter.py,sha256=sYDuGof_w6mlix0oxjB6odV0sO0QSBL1KwFZa3Y2cOA,8157
|
|
15
15
|
supervaizer/routes.py,sha256=o3u7pGGLE0MQzWtQNdd5xk1M0G9Y_BR_JiLVmCFtdC4,34319
|
|
16
|
-
supervaizer/server.py,sha256=
|
|
16
|
+
supervaizer/server.py,sha256=aZ51nZQ9aVdd-D_6tYa_SBtmSsNhCDvMfgaUrnGnmos,21639
|
|
17
17
|
supervaizer/server_utils.py,sha256=FMglpADQBJynkR2v-pfwANu6obsaPvR9j0BQc5Otpac,1590
|
|
18
18
|
supervaizer/storage.py,sha256=WLX8ggwt1AGF07DrfD1K6PyP2-N45c_Ep4CL0iPLVbI,15332
|
|
19
19
|
supervaizer/telemetry.py,sha256=XSYw8ZwoY8W6C7mhwHU67t7trJzWd7CBkkSNdsDT_HA,2596
|
|
@@ -28,6 +28,7 @@ supervaizer/admin/templates/cases_list.html,sha256=UV4SfULzxNiOpG8aNddablpwf6hVN
|
|
|
28
28
|
supervaizer/admin/templates/cases_table.html,sha256=VyL5mEF003FTNHym1UYBD8JkvhA9wR328ciTKNKxdb8,6619
|
|
29
29
|
supervaizer/admin/templates/console.html,sha256=tLGGf8vHjGK77Il6SYlgparoU_xz3nbvNpGVQRkVNCc,13966
|
|
30
30
|
supervaizer/admin/templates/dashboard.html,sha256=3Pu5bR78QUcPNp5MyXkyibfp-wxYdJyyf77v3O_f_hU,7873
|
|
31
|
+
supervaizer/admin/templates/index.html,sha256=JRYAp5IiMQ6khBL8lI8NtJ-jN4SdOpiLIZWTEbFcy_o,1912
|
|
31
32
|
supervaizer/admin/templates/job_detail.html,sha256=LDTMWLURyVCp7SMTxQ4M8AFqNpbbUVUx253negp9JNA,10790
|
|
32
33
|
supervaizer/admin/templates/job_start_test.html,sha256=eAogAit0JfuMU4N5YR7N03w0nD_Bi9mtiX8uJ7dHLPg,4270
|
|
33
34
|
supervaizer/admin/templates/jobs_list.html,sha256=VJ2VYe62dHXvjQQgUAVyKcn58rO5919UuP3VKgxLVhM,9136
|
|
@@ -61,8 +62,7 @@ supervaizer/deploy/templates/debug_env.py,sha256=WFlxfiCAlkxM1NybNvtmmG5zJnoSvjW
|
|
|
61
62
|
supervaizer/deploy/templates/docker-compose.yml.template,sha256=ZcW8WyhmqMElaxBpokuZG12n0tFJL8BY7k7Tvdz6tdw,1100
|
|
62
63
|
supervaizer/deploy/templates/dockerignore.template,sha256=bYFRn6QGsjtRDH-Y7vzWk3-u3jIp90FajV2Ed94ah5M,515
|
|
63
64
|
supervaizer/deploy/templates/entrypoint.sh,sha256=z079VUotu6DJX92fJiBB3eVwCEgcP6B9D9Fvwv_FL9w,463
|
|
64
|
-
supervaizer/
|
|
65
|
-
supervaizer/examples/controller_template.py,sha256=gAmA3GnDTdYkDk3NpVe-6Adbsl4Oxs-iZKN6mrO3WEg,6419
|
|
65
|
+
supervaizer/examples/controller_template.py,sha256=bQRtZdq9Z8Pg0b3bRy4oVy6YIIM_e5DzhXVPOr1gFvk,6337
|
|
66
66
|
supervaizer/protocol/__init__.py,sha256=00GHbUsLNsf0a1rQrUPpVN2Uy-7rDz72Ps6TUVD91tE,389
|
|
67
67
|
supervaizer/protocol/a2a/__init__.py,sha256=1ACfPGLzS6XdZPiFxn1nVamvbasqtJJ7U1BBbSmT-nI,625
|
|
68
68
|
supervaizer/protocol/a2a/model.py,sha256=sWzatlA_fcva_fdtM8Yh4cioRq0KbwV5AXpNCnsOtQo,7198
|
|
@@ -70,8 +70,8 @@ supervaizer/protocol/a2a/routes.py,sha256=rkQTNBD1NTYimKCb8iOk4bVf9ldDP1LqHfOsyh
|
|
|
70
70
|
supervaizer/utils/__init__.py,sha256=fd0NFwN_cen3QPms2SOnuz4jcetay3f_31dit2As7EA,458
|
|
71
71
|
supervaizer/utils/version_check.py,sha256=-tsOURpHVh0LNTbpQsyJDJENKszC-NzXDSO_EToEQPE,1893
|
|
72
72
|
supervaizer/py.typed,sha256=bHhvLx7c6MqrzXVPbdK3qAOcSxzp4wDtTx4QifMC2EY,74
|
|
73
|
-
supervaizer-0.10.
|
|
74
|
-
supervaizer-0.10.
|
|
75
|
-
supervaizer-0.10.
|
|
76
|
-
supervaizer-0.10.
|
|
77
|
-
supervaizer-0.10.
|
|
73
|
+
supervaizer-0.10.7.dist-info/METADATA,sha256=0nTpJOIEnG4twRiuZFshkrg0v098HUc37JuvfHV9P9Q,12647
|
|
74
|
+
supervaizer-0.10.7.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
75
|
+
supervaizer-0.10.7.dist-info/entry_points.txt,sha256=vL_IBR_AeEI2u2-6YL4PY9k2Mar4-gprG8-UxERWjmg,52
|
|
76
|
+
supervaizer-0.10.7.dist-info/licenses/LICENSE.md,sha256=dmdnt1vfpxNPr8Lt0BnxKE5uzUwK3CWTthTUStgOXjY,15327
|
|
77
|
+
supervaizer-0.10.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|