Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for OpenAI #202

Merged
merged 58 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
6c0e61e
add first implementation of strategy pattern
GregoMac1 Sep 30, 2024
4c562c9
reorganize `chat` folder
GregoMac1 Oct 2, 2024
f3d91dc
wip: improve APIs strategy pattern
GregoMac1 Oct 3, 2024
f6aa1f7
fix minor things and 'undefined' errors
GregoMac1 Oct 4, 2024
03b68a8
Merge branch 'main' into 94-support-openai-api-format
GregoMac1 Oct 7, 2024
8b0610e
move `ollamaServerStatus` from localStorage to settings page
GregoMac1 Oct 7, 2024
4d32492
fix multiple badges in models select
GregoMac1 Oct 7, 2024
4acc1c0
change openain settings to use ollama (temporarily)
GregoMac1 Oct 7, 2024
5842be8
improve settings view
GregoMac1 Oct 7, 2024
0b78f6f
fix error on previous commit
GregoMac1 Oct 7, 2024
cbaa045
re-run `npm install` to fix `package-lock.json`
GregoMac1 Oct 7, 2024
dd8e39f
fix some linting errors
GregoMac1 Oct 7, 2024
756500c
fix some of the changes requested in PR review
GregoMac1 Oct 8, 2024
e19d251
add required dep for windows in optionalDependencies
GregoMac1 Oct 9, 2024
8bc70ab
fix errors when models is undefined
GregoMac1 Oct 9, 2024
b332a85
add `type="password"` to OpenAI api key
GregoMac1 Oct 9, 2024
8468d08
retrieve models in sessions page
GregoMac1 Oct 9, 2024
70f8760
revert spanish translations for controls
GregoMac1 Oct 9, 2024
6903d30
improve openai config
GregoMac1 Oct 9, 2024
b89bb19
show toasts instead of badges
GregoMac1 Oct 9, 2024
9f4c495
fix OpenAI "Connect" button
GregoMac1 Oct 9, 2024
4de4b0d
use loading toast instead of warning
GregoMac1 Oct 9, 2024
8b83ea4
sort all models
GregoMac1 Oct 9, 2024
c7c46af
add text and bg colors to loading toast
GregoMac1 Oct 15, 2024
3e28a5c
Merge branch '216-ollama-pull-toast-message-is-transparent' into 94-s…
GregoMac1 Oct 15, 2024
672742f
use toast loading when connecting to openai
GregoMac1 Oct 15, 2024
27084d5
add custom types for chat logic
GregoMac1 Oct 15, 2024
dda9566
use capitalized api names for badges
GregoMac1 Oct 15, 2024
a1542ca
improve loading toast bg color
GregoMac1 Oct 18, 2024
424d24e
filter only `gpt` models from `openai`
GregoMac1 Oct 18, 2024
1344237
improve variable naming and toast messages
GregoMac1 Oct 18, 2024
bfef684
Merge branch '216-ollama-pull-toast-message-is-transparent' into 94-s…
GregoMac1 Oct 18, 2024
b979512
feat: add badges for ollama and openai
fmaclen Oct 18, 2024
17542c6
fix: session title bug
fmaclen Oct 19, 2024
18a2d1d
Merge branch 'main' into 94-support-openai-api-format
fmaclen Oct 19, 2024
4eaf5f1
fix: re-import `toast` in Session page
fmaclen Oct 19, 2024
0438430
add comment with reference
GregoMac1 Oct 22, 2024
eaf95ac
prevent creating `OpenAI` instances without server or api key
GregoMac1 Oct 22, 2024
beba633
fix linting errors
GregoMac1 Oct 22, 2024
25d2849
fix bug with last used models on new session
GregoMac1 Oct 22, 2024
fc947f2
fix scrolling bug
GregoMac1 Oct 22, 2024
dcaf18f
fix current tests
GregoMac1 Oct 22, 2024
2ed7cb7
move fetch models to +layout instead of +page
GregoMac1 Oct 22, 2024
6ec501f
fix bug with `isNewSession`
GregoMac1 Oct 22, 2024
9dd49ac
remove unused import
GregoMac1 Oct 22, 2024
a82185b
fix docs test
GregoMac1 Oct 22, 2024
b2ec72d
wip: stash openai tests
GregoMac1 Oct 24, 2024
330658e
fix most of the tests
GregoMac1 Oct 24, 2024
1161496
stash changes in openai tests
GregoMac1 Oct 25, 2024
e4b1de8
fix: mock openai text/stream response
fmaclen Oct 25, 2024
f01f61a
chore: organize mock functions
fmaclen Oct 25, 2024
6a13296
Merge branch 'main' into 94-support-openai-api-format
fmaclen Oct 25, 2024
6b6a406
docs: update MOTD
fmaclen Oct 25, 2024
95d9d08
docs: update README and snapshots
fmaclen Oct 25, 2024
500dde1
Merge branch 'main' into 94-support-openai-api-format
fmaclen Oct 26, 2024
bcf4b0b
fix test
GregoMac1 Oct 28, 2024
541e1fc
reorganize code and avoid going to `/sessions/new`
GregoMac1 Oct 28, 2024
83ea7bb
openai test: mock ollama tags response to make sure the models order …
GregoMac1 Oct 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading