griptape-nodes 0.59.1__py3-none-any.whl → 0.59.2__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.
@@ -114,7 +114,12 @@ class RequestClient:
114
114
  self._subscribed_response_topics.add(response_topic)
115
115
 
116
116
  # Send the request as an EventRequest
117
- event_payload = {"event_type": "EventRequest", "request_type": request_type, "request": payload}
117
+ event_payload = {
118
+ "event_type": "EventRequest",
119
+ "request_type": request_type,
120
+ "request": payload,
121
+ "response_topic": response_topic,
122
+ }
118
123
 
119
124
  logger.debug("Sending request %s: %s", request_id, request_type)
120
125
 
@@ -257,7 +257,8 @@ class AgentManager:
257
257
  full_result += event.token
258
258
  try:
259
259
  result_json = json.loads(repair_json(full_result))
260
- if "conversation_output" in result_json:
260
+
261
+ if isinstance(result_json, dict) and "conversation_output" in result_json:
261
262
  new_conversation_output = result_json["conversation_output"]
262
263
  if new_conversation_output != last_conversation_output:
263
264
  GriptapeNodes.EventManager().put_event(
@@ -286,7 +287,7 @@ class AgentManager:
286
287
  return RunAgentResultFailure(error=ErrorArtifact(last_event).to_dict(), result_details=err_msg)
287
288
  except Exception as e:
288
289
  err_msg = f"Error running agent: {e}"
289
- logger.error(err_msg)
290
+ logger.exception(err_msg)
290
291
  return RunAgentResultFailure(error=ErrorArtifact(e).to_dict(), result_details=err_msg)
291
292
 
292
293
  def on_handle_configure_agent_request(self, request: ConfigureAgentRequest) -> ResultPayload:
@@ -97,7 +97,7 @@ def start_mcp_server(api_key: str) -> None:
97
97
 
98
98
  request_payload = SUPPORTED_REQUEST_EVENTS[name](**arguments)
99
99
 
100
- result = await manager.request(request_payload.__class__.__name__, request_payload.__dict__, timeout_ms=5000)
100
+ result = await manager.request(request_payload.__class__.__name__, request_payload.__dict__, timeout_ms=30000)
101
101
  mcp_server_logger.debug("Got result: %s", result)
102
102
 
103
103
  return [TextContent(type="text", text=json.dumps(result))]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: griptape-nodes
3
- Version: 0.59.1
3
+ Version: 0.59.2
4
4
  Summary: Add your description here
5
5
  Requires-Dist: griptape>=1.8.8
6
6
  Requires-Dist: pydantic>=2.10.6
@@ -2,7 +2,7 @@ griptape_nodes/__init__.py,sha256=WxWjICLxwuyZGDpPUyCmj047GbN7PIspi4YMWgmrrQc,67
2
2
  griptape_nodes/__main__.py,sha256=fJhor6_1A27abwbnceyNheONP1iXkPzjjsV5jBEfF2M,144
3
3
  griptape_nodes/api_client/__init__.py,sha256=9iyLcPbcXjxxLhhCSYQ5zgvlwxceyrNXDE8YhOIVH8g,216
4
4
  griptape_nodes/api_client/client.py,sha256=3qmTLMeVTFeyO-XlxTUUWwsEgG41R8swE64EccotaJQ,9664
5
- griptape_nodes/api_client/request_client.py,sha256=2_fi1RN8BE89SVmLl_JRAkZvNTNqc7b4rFUfW-mWYJI,9620
5
+ griptape_nodes/api_client/request_client.py,sha256=Z5lJVoG2a9hudTAQTnniaCHbBko0X1FyoakiQMimq7g,9713
6
6
  griptape_nodes/app/.python-version,sha256=e1X45ntWI8S-8_ppEojalDfXnTq6FW3kjUgdsyrH0W0,5
7
7
  griptape_nodes/app/__init__.py,sha256=DB-DTsgcNnbmEClXEouwzGhrmo3gHBCWXB9BkPGpdQI,90
8
8
  griptape_nodes/app/app.py,sha256=q1dRMnMxFcinyI36ehhU08buni1scBhU1zm2U6WUVDo,15333
@@ -91,7 +91,7 @@ griptape_nodes/retained_mode/events/variable_events.py,sha256=fnl_sY8GWI_R4UJQTE
91
91
  griptape_nodes/retained_mode/events/workflow_events.py,sha256=FjARlC9wwWFMqtugEkPOEf_y9eyEhfzP-MZSl4TGRBI,22530
92
92
  griptape_nodes/retained_mode/griptape_nodes.py,sha256=jB8Ufn13JbanahY3pc_43C9-DS-p4YAX_h8OvkOLgSw,18826
93
93
  griptape_nodes/retained_mode/managers/__init__.py,sha256=OTXysKusqYCQeAYwnVj4PbE3MxvAUTq9xOZT6vUE3JA,24
94
- griptape_nodes/retained_mode/managers/agent_manager.py,sha256=GeBAMGnSB7wnkA6LGwBxR7WVXOc028X6B-Y4d2Two1I,15447
94
+ griptape_nodes/retained_mode/managers/agent_manager.py,sha256=r1tFMIt9vUMFooQT5jmg1I5wBzm0Calie5dVuIXmeDY,15486
95
95
  griptape_nodes/retained_mode/managers/arbitrary_code_exec_manager.py,sha256=3IRIrpKR62MvTdGWfQa1ARUVxCmMUNtzUU4xMcQdlCY,1891
96
96
  griptape_nodes/retained_mode/managers/config_manager.py,sha256=WfzvFDPyboHgsCMpVGER6Ar1OHyPD_827LQx9xaUsMM,25573
97
97
  griptape_nodes/retained_mode/managers/context_manager.py,sha256=eb44_CAZhCg2iYIoodlAPpYc67tG3sHyq9dPNoiq_1s,23031
@@ -139,7 +139,7 @@ griptape_nodes/retained_mode/utils/__init__.py,sha256=W5dvv8YwvVVq_8eVTgMd3Z_VB_
139
139
  griptape_nodes/retained_mode/utils/name_generator.py,sha256=IZLahtfP3XC79XApLdGoZ0IKKUkgiITpd16RK7NbyEs,2524
140
140
  griptape_nodes/retained_mode/variable_types.py,sha256=GVrSWMB3gEDAufSPOBXbNfIRhA9M43MoxpqLyuIg_HE,435
141
141
  griptape_nodes/servers/__init__.py,sha256=JCmorB8tQUu_kQ8hSRhgw4VsOqsC0iZjZ-mCXYy9ZOQ,60
142
- griptape_nodes/servers/mcp.py,sha256=du0xBErKpAMS2sbe8HBTAHUhii4BmBGK-7-pbLOs--U,5452
142
+ griptape_nodes/servers/mcp.py,sha256=pCtBFfPKZuhU2tWguorOnmV33fYmF7NN-c9gu4MQFEk,5453
143
143
  griptape_nodes/servers/static.py,sha256=j-RiY10i8OhQRYi22eeq5rZ7I2An-DzIPA96rF5Tm4o,6975
144
144
  griptape_nodes/traits/__init__.py,sha256=bTLXTiZTJz2z15RRLoPI4nvLnNW9FiLcKL_2pT4E10g,32
145
145
  griptape_nodes/traits/add_param_button.py,sha256=27RZDVLMD0HmRF6hjfz7iV7LBau92vMc_d2eD2Ey8fA,649
@@ -172,7 +172,7 @@ griptape_nodes/version_compatibility/versions/v0_39_0/modified_parameters_set_re
172
172
  griptape_nodes/version_compatibility/workflow_versions/__init__.py,sha256=z5XDgkizoNByCXpyo34hfsJKFsWlOHbD6hgzfYH9ubc,52
173
173
  griptape_nodes/version_compatibility/workflow_versions/v0_7_0/__init__.py,sha256=IzPPmGK86h2swfGGTOHyVcBIlOng6SjgWQzlbf3ngmo,51
174
174
  griptape_nodes/version_compatibility/workflow_versions/v0_7_0/local_executor_argument_addition.py,sha256=Y8n1wzI5a-ZCHK5eiwtnnD3zF5lN-52R67rxYn0hxyI,2069
175
- griptape_nodes-0.59.1.dist-info/WHEEL,sha256=ELhySV62sOro8I5wRaLaF3TWxhBpkcDkdZUdAYLy_Hk,78
176
- griptape_nodes-0.59.1.dist-info/entry_points.txt,sha256=qvevqd3BVbAV5TcantnAm0ouqaqYKhsRO3pkFymWLWM,82
177
- griptape_nodes-0.59.1.dist-info/METADATA,sha256=6Reu9-n6BxhmhAgOcpyY2sotMECJmzqFKdll5NuzSd0,5108
178
- griptape_nodes-0.59.1.dist-info/RECORD,,
175
+ griptape_nodes-0.59.2.dist-info/WHEEL,sha256=ELhySV62sOro8I5wRaLaF3TWxhBpkcDkdZUdAYLy_Hk,78
176
+ griptape_nodes-0.59.2.dist-info/entry_points.txt,sha256=qvevqd3BVbAV5TcantnAm0ouqaqYKhsRO3pkFymWLWM,82
177
+ griptape_nodes-0.59.2.dist-info/METADATA,sha256=itwWwFOo728n1FQwc5aFzTWihGGx3w5lT3uzYCXBckI,5108
178
+ griptape_nodes-0.59.2.dist-info/RECORD,,