-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #216 from HyperChatBot/refactor-migrate-to-tauri2
refactor: use the sdk of openai and azure openai
- Loading branch information
Showing
24 changed files
with
553 additions
and
372 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
import AudioTranscriptionConfiguration from './AudioTranscription' | ||
import AudioTranslationConfiguration from './AudioTranslation' | ||
import ChatCompletionConfiguration from './ChatCompletion' | ||
import CompletionConfiguration from './Completion' | ||
import ImageGenerationConfiguration from './ImageGeneration' | ||
import TextCompletionConfiguration from './TextCompletion' | ||
|
||
export { | ||
AudioTranscriptionConfiguration, | ||
AudioTranslationConfiguration, | ||
ChatCompletionConfiguration, | ||
ImageGenerationConfiguration, | ||
TextCompletionConfiguration | ||
CompletionConfiguration, | ||
ImageGenerationConfiguration | ||
} |
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 |
---|---|---|
@@ -1,29 +1,27 @@ | ||
import useAppData from './useAppData' | ||
import useAudio from './useAudio' | ||
import useChatCompletion from './useChatCompletion' | ||
import useClients from './useClients' | ||
import useCompletion from './useCompletion' | ||
import useDB from './useDB' | ||
import useImageGeneration from './useImageGeneration' | ||
import useMessages from './useMessages' | ||
import useOnline from './useOnline' | ||
import useOpenAI from './useOpenAI' | ||
import useRequest from './useRequest' | ||
import useSettings from './useSettings' | ||
import useServices from './useSevices' | ||
import useTextCompletion from './useTextCompletion' | ||
import useTheme from './useTheme' | ||
|
||
export { | ||
useAppData, | ||
useAudio, | ||
useChatCompletion, | ||
useClients, | ||
useCompletion, | ||
useDB, | ||
useImageGeneration, | ||
useMessages, | ||
useOnline, | ||
useOpenAI, | ||
useRequest, | ||
useServices, | ||
useSettings, | ||
useTextCompletion, | ||
useTheme | ||
} |
Oops, something went wrong.