crossid / accessbot

Streamline resource access grants with AI-Powered chatbot
https://www.crossid.io
Other
2 stars 0 forks source link

Provisioning result should be reflected to data owner #100

Closed asaf closed 5 months ago

asaf commented 5 months ago

Example of failed provisioning but nothing is streamed back.

2024-05-28 16:48:49,791 INFO sqlalchemy.engine.Engine [cached since 236.5s ago] {'workspace_id_1': 'o0eLakTr7q', 'name_1': 'projects', 'param_1': 1}
2024-05-28 16:48:49,935 INFO sqlalchemy.engine.Engine ROLLBACK
failed to provision role: HTTPSConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /api/projects (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1006)')))
ErezSha commented 5 months ago

@asaf It already does image

ErezSha commented 5 months ago

image

asaf commented 5 months ago

@ErezSha for some reason this is not the case using the streaming API, It grants everything but the result is not streamed (not failure nor success) and the message is also not stored in conversation.

asaf commented 5 months ago

We have control over formatting this in a nicer way?

Screenshot 2024-05-29 at 0 02 31