feat(error-object): add key
This commit is contained in:
parent
ba7b92ffde
commit
6e61c88c9e
2 changed files with 28 additions and 5 deletions
|
|
@ -70,7 +70,8 @@ export const handleConnection = async (
|
|||
ws.send(
|
||||
JSON.stringify({
|
||||
type: 'error',
|
||||
data: 'Invalid LLM or embeddings model selected',
|
||||
data: 'Invalid LLM or embeddings model selected, please refresh the page and try again.',
|
||||
key: 'INVALID_MODEL_SELECTED',
|
||||
}),
|
||||
);
|
||||
ws.close();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue