You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1b81d36
Browse filesBrowse the repository at this point in the historyBrowse files
Add chat history persistence and management to the api manager view
- ApiManager.send_llm_message should have param 'raw_instructions':string (pass raw instructions from `apps/editor/src/views/panel/backend/message-handlers/handle-make-api-call.ts`)
- in `apps/editor/src/views/api-manager/backend/api-manager-view-provider.ts` hold 'chats' array. It should receive an object of a sucessfully received result, including a copy of [Fragment], needed to make further requests later on.
- don't send request id in 'add chat', instead hold a timestamp
- hold the history of chats in workspace state. Auto load when the extension initializes.
- for 'api manager' view, create an ui component 'chats'. It is simple, should show a list of timestamps.
- move[Fragment] to a handler
0 commit comments