-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update version to 23.2.0-rc.1 * Use `yarn python` instead of hard-coded script * Add project logo and move h1 to the top * Add release instructions with GH Actions * Update logo and header styles * Update logo and header styles * Use bigger logo * Improve Create release step by reusing release with same tag * Include a debug .dmg * Bump to 23.2.0-rc.2 * Add an additional note to release notes about debug artifacts * Fix chat interaction in desktop by using non-stream method This fixes #567 * fix: Enable server logs by default and prevent user from editing configurations. Related to #568 * fix: make loading spinner smaller * fix: pass copy of buffer to pdf worker This fixes #565 * fix: give modal z-index to command palette * Fix issue #570 Chat (and rewrite) window does not reset when changing projects * Bump to 23.2.0-rc.3 * remove `.only` in test! * Bump version to 23.2.0-rc.4 * Update references panel buttons for upload/search * Remove save file action from command palette * Revert "Fix chat interaction in desktop by using non-stream method" This reverts commit 9eb60e5. * Remove [...] arbitrary values * feat: add alignment prop to Button * Bump version to 23.2.0-rc.5 * Add support for CORS in the backend API * Fix stream API call from the desktop by appending the REFSTUDIO_HOST * Links open in default browser on desktop * Bump version to 23.2.0-rc.6 * Release 23.2.0 --------- Co-authored-by: Mathis Pierron <mathis.pierron@student-cs.fr> Co-authored-by: Jessica Voytek <jessica.voytek@gmail.com>
- Loading branch information
1 parent
e7f9011
commit c31c3db
Showing
24 changed files
with
197 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { atom } from 'jotai'; | ||
|
||
interface ChatThreadItem { | ||
id: string; | ||
question: string; | ||
answer?: string; | ||
} | ||
export type ChatThread = ChatThreadItem[]; | ||
|
||
export const chatThreadAtom = atom<ChatThread>([]); | ||
|
||
// { | ||
// id: '1', | ||
// question: 'What is your name?', | ||
// answer: | ||
// 'I am an AI language model and do not have a name. How may I assist you with your query related to the given context?', | ||
// }, | ||
// { | ||
// id: '2', | ||
// question: 'What can you tell me about hidden feedback loops in machine learning?', | ||
// answer: | ||
// 'Hidden feedback loops in machine learning refer to situations where two systems indirectly influence each other through the world, leading to changes in behavior that may not be immediately visible. These loops may exist between completely disjoint systems and can make analyzing the effect of proposed changes extremely difficult, adding cost to even simple improvements. It is recommended to look carefully for hidden feedback loops and remove them whenever feasible.', | ||
// }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { atom } from 'jotai'; | ||
|
||
import { chatThreadAtom } from './chatState'; | ||
import { closeAllEditorsAtom } from './editorActions'; | ||
import { refreshFileTreeAtom } from './fileExplorerActions'; | ||
import { clearAllReferencesAtom } from './referencesState'; | ||
import { selectionAtom } from './selectionState'; | ||
|
||
/** | ||
* Reset RefStudio to initial state. | ||
* This should be used wne the user closes the project. | ||
*/ | ||
export const resetStateAtom = atom(null, async (_, set) => { | ||
set(closeAllEditorsAtom); | ||
set(clearAllReferencesAtom); | ||
set(selectionAtom, ''); | ||
set(chatThreadAtom, []); | ||
await set(refreshFileTreeAtom); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.