reasoning-deployment-service 0.4.8__py3-none-any.whl → 0.4.9__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 reasoning-deployment-service might be problematic. Click here for more details.
- reasoning_deployment_service/reasoning_deployment_service.py +21 -40
- {reasoning_deployment_service-0.4.8.dist-info → reasoning_deployment_service-0.4.9.dist-info}/METADATA +1 -1
- {reasoning_deployment_service-0.4.8.dist-info → reasoning_deployment_service-0.4.9.dist-info}/RECORD +6 -6
- {reasoning_deployment_service-0.4.8.dist-info → reasoning_deployment_service-0.4.9.dist-info}/WHEEL +0 -0
- {reasoning_deployment_service-0.4.8.dist-info → reasoning_deployment_service-0.4.9.dist-info}/entry_points.txt +0 -0
- {reasoning_deployment_service-0.4.8.dist-info → reasoning_deployment_service-0.4.9.dist-info}/top_level.txt +0 -0
|
@@ -785,50 +785,29 @@ class ReasoningEngineDeploymentService:
|
|
|
785
785
|
f"collections/default_collection/engines/{self._agent_space_engine}/"
|
|
786
786
|
f"assistants/default_assistant/agents/{agent_id}"
|
|
787
787
|
)
|
|
788
|
-
headers = self._get_headers()
|
|
789
|
-
|
|
790
|
-
# GET current agent
|
|
791
|
-
resp = self._http.get(url, headers=headers, timeout=60)
|
|
792
|
-
resp.raise_for_status()
|
|
793
|
-
agent_data = resp.json()
|
|
794
|
-
|
|
795
|
-
# Build patch payload by merging
|
|
796
|
-
patch_payload = {}
|
|
797
|
-
|
|
798
|
-
if new_display_name:
|
|
799
|
-
patch_payload["displayName"] = new_display_name
|
|
800
|
-
if new_description:
|
|
801
|
-
patch_payload["description"] = new_description
|
|
802
788
|
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
789
|
+
agent_updates_body = {
|
|
790
|
+
"displayName": new_display_name,
|
|
791
|
+
"description": "edit test",
|
|
792
|
+
"adk_agent_definition": {
|
|
793
|
+
"tool_settings": {
|
|
794
|
+
"tool_description": new_description
|
|
795
|
+
},
|
|
796
|
+
"provisioned_reasoning_engine":{
|
|
797
|
+
"reasoning_engine": new_reasoning_engine
|
|
798
|
+
},
|
|
799
|
+
"authorizations": new_authorizations
|
|
800
|
+
}
|
|
801
|
+
}
|
|
816
802
|
|
|
817
|
-
|
|
818
|
-
self.info("[AGENT PATCH] Nothing to update.")
|
|
819
|
-
return agent_data
|
|
803
|
+
headers = self._get_headers()
|
|
820
804
|
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
)
|
|
824
|
-
|
|
825
|
-
try:
|
|
826
|
-
self.info(f"[AGENT PATCH] response={json.dumps(patch_resp.json(), indent=2)}")
|
|
827
|
-
except Exception:
|
|
828
|
-
self.info(f"[AGENT PATCH] response_text={(patch_resp.text or '')[:1000]}")
|
|
829
|
-
patch_resp.raise_for_status()
|
|
805
|
+
update_mask = ["displayName", "description", "adk_agent_definition.tool_settings.tool_description",
|
|
806
|
+
"adk_agent_definition.provisioned_reasoning_engine.reasoning_engine"]
|
|
807
|
+
params = {"update_mask": ",".join(update_mask)}
|
|
808
|
+
resp = self._http.patch(url, headers=headers, params=params, json=agent_updates_body, timeout=60)
|
|
830
809
|
|
|
831
|
-
return
|
|
810
|
+
return resp.json()
|
|
832
811
|
|
|
833
812
|
|
|
834
813
|
def one_githhub_deployment_to_go_with_skip(self):
|
|
@@ -980,6 +959,8 @@ class ReasoningEngineDeploymentService:
|
|
|
980
959
|
self.info(f"[AGENT] POST {create_url}")
|
|
981
960
|
cr = self._http.post(create_url, headers=headers, json=payload, timeout=90)
|
|
982
961
|
self.info(f"[AGENT] POST status={cr.status_code}")
|
|
962
|
+
self.info(f"[AGENT] POST ct={cr.headers.get('content-type','')}")
|
|
963
|
+
self.info(f"[AGENT] POST body={(cr.text or '')[:4000]}")
|
|
983
964
|
cr.raise_for_status()
|
|
984
965
|
agent_name = (cr.json() or {}).get("name")
|
|
985
966
|
if agent_name:
|
{reasoning_deployment_service-0.4.8.dist-info → reasoning_deployment_service-0.4.9.dist-info}/RECORD
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
reasoning_deployment_service/__init__.py,sha256=xDuKt9gGviQiTV6vXBdkBvygnlAOIrwnUjVaMGZy0L4,670
|
|
2
|
-
reasoning_deployment_service/reasoning_deployment_service.py,sha256=
|
|
2
|
+
reasoning_deployment_service/reasoning_deployment_service.py,sha256=5wNyv_Lzz0jm0vTvPvx3uCYNpl2FpKmGGVMf1SB_NX0,43285
|
|
3
3
|
reasoning_deployment_service/runner.py,sha256=qWN0t66lQ1G4ht48gIHSF2JvedcheHRu8PmUz5TaKTI,5619
|
|
4
4
|
reasoning_deployment_service/cli_editor/__init__.py,sha256=bN8NPkw8riB92pj2lAwJZuEMOQIO_RRuge0ehnJTW1I,118
|
|
5
5
|
reasoning_deployment_service/cli_editor/api_client.py,sha256=Kzx5iYp0MmowggrSmPLE7I2kt1-8xvdGBAgde9a1gCY,33681
|
|
@@ -22,8 +22,8 @@ reasoning_deployment_service/gui_editor/src/ui/authorization_view.py,sha256=BoNc
|
|
|
22
22
|
reasoning_deployment_service/gui_editor/src/ui/reasoning_engine_view.py,sha256=tCvSPEf4dW0NRdAqfs3yT5Pa873gYeLzCMMIt2r2T4o,14644
|
|
23
23
|
reasoning_deployment_service/gui_editor/src/ui/reasoning_engines_view.py,sha256=IRjFlBbY98usAZa0roOonjvWQOsF6NBW4bBg_k8KnKI,7860
|
|
24
24
|
reasoning_deployment_service/gui_editor/src/ui/ui_components.py,sha256=HdQHy-oSZ3GobQ3FNdH7y_w3ANbFiuf2rMoflAmff0A,55366
|
|
25
|
-
reasoning_deployment_service-0.4.
|
|
26
|
-
reasoning_deployment_service-0.4.
|
|
27
|
-
reasoning_deployment_service-0.4.
|
|
28
|
-
reasoning_deployment_service-0.4.
|
|
29
|
-
reasoning_deployment_service-0.4.
|
|
25
|
+
reasoning_deployment_service-0.4.9.dist-info/METADATA,sha256=XioMJW8xodhyKK9NlL_cTWzLQssmAz6dVXK0c5Khl5g,5302
|
|
26
|
+
reasoning_deployment_service-0.4.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
27
|
+
reasoning_deployment_service-0.4.9.dist-info/entry_points.txt,sha256=onGKjR5ONTtRv3aqEtK863iw9Ty1kLcjfZlsplkRZrA,84
|
|
28
|
+
reasoning_deployment_service-0.4.9.dist-info/top_level.txt,sha256=GKuQS1xHUYLZbatw9DmcYdBxxLhWhhGkV4FmFxgKdp0,29
|
|
29
|
+
reasoning_deployment_service-0.4.9.dist-info/RECORD,,
|
{reasoning_deployment_service-0.4.8.dist-info → reasoning_deployment_service-0.4.9.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|