Closed ErezSha closed 4 months ago
Events should be more UI friendly.
Event type is exposed in UI so no need for the 'type' field in data.
All events types are chat-message
? if not what other events are possible? preferably we could figure out based on event type what's actually happening (e.g., invoking tool, content, etc.)
Providing a UI status that the state is "getting a recommendation". this is too hard to parse in UI, we need a single event for that, just like other tools.
{ content: 'Re', name: 'Information', type: 'chat-message' }
{ content: 'comm', name: 'Information', type: 'chat-message' }
{ content: 'ender', name: 'Information', type: 'chat-message' }
Consider improving tool calls with in/out instead of pushing all fields into content:
{
content: "find_app; inputs: {'workspace_id': 'tbYMg7N5mF', 'app_name': 'jira'}",
name: 'find_app',
type: 'chat-message'
}
{
content: "find_app; output: {'app_name': 'projects', 'app_id': '4dqoFdLL3s', 'extra_instructions': 'Find out which project the user is trying to access. do not as the user for the project id, just extract it from your final answer.\\r\\n\\r\\nYou must determine which project access level is needed, the possible *Project Access Levels* are:\\r\\n\\r\\n**Basic User Access**: Allows viewing project details and statuses without the ability to make changes.\\r\\n\\r\\n**Team Member Access**: Permits adding, editing, and commenting on tasks within assigned projects.\\r\\n\\r\\n**Project Manager Access**: Grants capabilities to manage project settings, assign tasks, manage budgets, and generate reports.\\r\\n\\r\\n**Administrator Access**: Provides full control over the project management tool, including creating projects, managing user roles, and setting up integrations.\\r\\n\\r\\n**Audit and Compliance Access**: Allows viewing all project activities, audit logs, and compliance reports to ensure the project adheres to legal and organizational standards.'}",
name: 'find_app',
type: 'chat-message'
}
closes #142