We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0b39e33 + 58ebcd5 commit 2341bd6Copy full SHA for 2341bd6
1 file changed
src/praisonai/praisonai/ui/agents.py
@@ -17,8 +17,8 @@
17
]
18
19
actions = [
20
- cl.Action(name="run", payload="run", label="✅ Run"),
21
- cl.Action(name="modify", payload="modify", label="🔧 Modify"),
+ cl.Action(name="run", payload={"value": "run"}, label="run"),
+ cl.Action(name="modify", payload={"value": "modify"}, label="Modify"),
22
23
24
@cl.action_callback("run")
@@ -819,4 +819,4 @@ async def on_settings_update(settings):
819
await on_settings_update(settings)
820
except Exception as e:
821
logger.error(f"Final retry failed: {str(e)}")
822
- await cl.Message(content=f"Failed to update settings after retries: {str(e)}").send()
+ await cl.Message(content=f"Failed to update settings after retries: {str(e)}").send()
0 commit comments