Update app_layer_agent.py
Browse files- app_layer_agent.py +1 -1
app_layer_agent.py
CHANGED
|
@@ -99,7 +99,7 @@ class UCGBRIDGE():
|
|
| 99 |
messages=messages,
|
| 100 |
)
|
| 101 |
|
| 102 |
-
response_message = response.choices[0].message
|
| 103 |
json_=json.loads(response_message)
|
| 104 |
result =self.engine.run(json_["operation"],json_["state"])
|
| 105 |
return result
|
|
|
|
| 99 |
messages=messages,
|
| 100 |
)
|
| 101 |
|
| 102 |
+
response_message = response.choices[0].message.content
|
| 103 |
json_=json.loads(response_message)
|
| 104 |
result =self.engine.run(json_["operation"],json_["state"])
|
| 105 |
return result
|