This feature allows the user to select an assistant from a dropdown and chat with the assistant.
The user can also de-select the assistant and chat without them.
Reference the README updates for discussion about logic changes required for this feature.
Additionally, this PR includes:
No longer need to set threadsStore in tests because svelteTesting plugin sets the env to browser instead of node and lifecycle hooks (e.g. onMount) will now run for unit tests
Improved unit test mocking for chat completions and chat saving to db (API call)
Refactoring to fetch all threads at once instead of sequentially (speed improvement)
Added helpers for Playwright E2E tests that can do test data setup and cleanup programmatically with API calls
note - some of the functionality around how the edit/regen/copy buttons was changed after recording this demo. Reference the deployed version of the app for funtionality.
closes #506
This feature allows the user to select an assistant from a dropdown and chat with the assistant. The user can also de-select the assistant and chat without them.
Reference the README updates for discussion about logic changes required for this feature.
Additionally, this PR includes:
No longer need to set threadsStore in tests because svelteTesting plugin sets the env to browser instead of node and lifecycle hooks (e.g. onMount) will now run for unit tests
Improved unit test mocking for chat completions and chat saving to db (API call)
Refactoring to fetch all threads at once instead of sequentially (speed improvement)
Added helpers for Playwright E2E tests that can do test data setup and cleanup programmatically with API calls
Currently deployed on leapfrog-04 at ai.uds.dev
AssistantSelection.webm
note - some of the functionality around how the edit/regen/copy buttons was changed after recording this demo. Reference the deployed version of the app for funtionality.