Commit Graph
100 Commits
Author SHA1 Message Date
Jun Siang Cheah 7fefbb316d fix: add backwards compat with older searxng urls 2024-06-03 21:13:10 +01:00
Jun Siang Cheah 8f03daeaf6 fix: selected local tts voice not shown in settings 2024-06-03 19:11:37 +01:00
Jun Siang Cheah de03bf834e feat: add option to allow nonlocal TTS voices 2024-06-03 19:11:14 +01:00
Jun Siang Cheah db3d48ee15 feat: automatically focus title input when editing 2024-06-03 18:49:34 +01:00
Jun Siang Cheah 6022f6f5df feat: double click title to edit 2024-06-03 18:48:27 +01:00
Jun Siang Cheah 3176fe0c2b fix: another attempt at fixing tag docker builds 2024-06-02 22:35:59 +01:00
Jun Siang Cheah b5b2b70f4a fix: bad payload refactor 2024-06-02 19:40:18 +01:00
Jun Siang Cheah 7f74426a22 fix: openai streaming cancellation using aiohttp 2024-06-02 18:48:45 +01:00
Jun Siang Cheah 4dd51badfe fix: ollama streaming cancellation using aiohttp 2024-06-02 18:06:12 +01:00
Jun Siang Cheah 24c35c308d fix: stream defaults to true, return request ID 2024-06-02 17:09:15 +01:00
Jun Siang Cheah 0cb8163321 feat: add RAG_EMBEDDING_OPENAI_BATCH_SIZE to batch multiple embeddings 2024-06-02 15:34:31 +01:00
Jun Siang Cheah 45bff743a2 fix: docker build on tag broke due to cache 2024-06-02 10:01:01 +01:00
Jun Siang Cheah 1cef48730e fix: show both message contents and error message 2024-06-01 20:59:14 +01:00
Jun Siang Cheah fd31b5f8d6 refac: error message separate from content 2024-06-01 15:54:02 +01:00
Jun Siang Cheah afbea2ecea fix: don't use BUILD_HASH build arg until needed, busts cache otherwise 2024-06-01 14:16:39 +01:00
Jun Siang Cheah 99b1661638 feat: add OpenAI generation stats 2024-05-27 10:11:53 +01:00
Jun Siang Cheah e06417f0aa feat: add admin ui for toggling community sharing 2024-05-26 17:23:24 +01:00
Jun Siang Cheah ccff221921 refac: run admin general settings fetches in parallel 2024-05-26 17:12:52 +01:00
Jun Siang Cheah 1235714914 feat: add ENABLE_COMMUNITY_SHARING 2024-05-26 17:10:25 +01:00
Jun Siang Cheah 6c5f5fe368 refac: move ui flags into feature flags 2024-05-26 17:05:26 +01:00
Jun Siang Cheah 276b7b90b8 Merge remote-tracking branch 'upstream/dev' into feat/backend-web-search 2024-05-26 11:31:23 +01:00
Jun Siang Cheah aba6308825 Merge remote-tracking branch 'upstream/dev' into feat/include-git-hash-everywhere 2024-05-26 11:27:02 +01:00
Jun Siang Cheah 4fdb26fdc4 refac: rename build hash vars 2024-05-26 08:49:30 +01:00
Jun Siang Cheah b1265c9c34 Merge remote-tracking branch 'upstream/dev' into feat/backend-web-search 2024-05-25 14:55:49 +01:00
Jun Siang Cheah a579f5f8cf feat: add git hash of build everywhere 2024-05-25 09:19:49 +01:00
Jun Siang Cheah 3d1cc1e422 feat: generate production source maps to assist debugging 2024-05-25 09:03:04 +01:00
Jun Siang Cheah 60433856a2 Merge remote-tracking branch 'upstream/dev' into feat/backend-web-search 2024-05-22 22:28:45 +01:00
Jun Siang Cheah 929384e39a refac: speed up app mount by parallelizing API requests 2024-05-22 19:40:16 +01:00
Jun Siang Cheah 1aebf88069 chore: update python dependencies 2024-05-22 09:50:22 +01:00
Jun Siang Cheah dcae813d05 chore: update github actions 2024-05-22 09:23:26 +01:00
Jun Siang Cheah b20ec0586e refac: only create space admin user when configured 2024-05-21 22:09:25 +01:00
Jun Siang Cheah 889a2fd77e fix: wrong path for space litellm config 2024-05-21 22:07:51 +01:00
Jun Siang Cheah f21c8626d6 refac: switch to meta and params, remove source 2024-05-21 22:05:16 +01:00
Jun Siang Cheah 54c29f8bd3 fix: chown /app/backend/data after preloading models 2024-05-21 21:30:42 +01:00
Jun Siang Cheah 7ccef3e77a Merge remote-tracking branch 'upstream/dev' into feat/model-config 2024-05-21 19:17:42 +01:00
Jun Siang Cheah 6d237999dc fix: formatting 2024-05-21 18:46:03 +01:00
Jun Siang Cheah 5eb9b00f8d refac: consolidate chat logic into single component 2024-05-21 18:30:31 +01:00
Jun Siang Cheah a937f6504a feat: add image gen with automatic1111 to integration test 2024-05-20 23:03:05 +01:00
Jun Siang Cheah e142223ed1 feat: cache docker layers to registry 2024-05-20 20:05:53 +01:00
Jun Siang Cheah 224a578e6b Merge remote-tracking branch 'upstream/dev' into feat/backend-web-search 2024-05-20 19:53:23 +01:00
Jun Siang Cheah 69bac2a20e feat: use the conversation's model instead of the first model for query gen 2024-05-20 18:07:52 +01:00
Jun Siang Cheah eb509c460a Merge remote-tracking branch 'origin/dev' into feat/backend-web-search 2024-05-20 18:01:29 +01:00
Jun Siang Cheah 1a16f8fb1c Merge remote-tracking branch 'origin/dev' into feat/model-config 2024-05-20 09:02:41 +01:00
Jun Siang Cheah 197af1264d fix: remove stray debug log 2024-05-19 22:15:27 +08:00
Jun Siang Cheah ae26596d0d feat: log exceptions on update_all_models 2024-05-19 22:11:28 +08:00
Jun Siang Cheah 715a4a6c27 Merge remote-tracking branch 'upstream/dev' into feat/model-config 2024-05-19 22:01:33 +08:00
Jun Siang Cheah fa4c22492f feat: add warning icon to images when some models are not vision capable 2024-05-19 18:57:13 +08:00
Jun Siang Cheah 4002ead6af feat: store model configs in the database 2024-05-19 18:46:24 +08:00
Jun Siang Cheah 1bacd5d93f Merge branch 'dev' into feat/model-config 2024-05-19 13:13:17 +08:00
Jun Siang Cheah f9587032de fix: case insensitive model search 2024-05-18 19:59:29 +08:00
Jun Siang Cheah 781c904c91 refac: fetch pyodide deps at build time, not checked into git 2024-05-18 14:30:42 +08:00
Jun Siang Cheah 51a41c8db4 fix: image generation broken by config persistence 2024-05-17 13:52:48 +08:00
Jun Siang Cheah 5d3eddf7e9 feat: update to persistent config 2024-05-17 13:51:17 +08:00
Jun Siang Cheah 0665703401 Merge branch 'dev' into feat/model-config 2024-05-17 11:41:37 +08:00
Jun Siang Cheah 1dc80786c1 feat: optional UID/GID docker build args 2024-05-17 09:44:52 +08:00
Jun Siang Cheah b95027f182 feat: add searched urls to document 2024-05-16 11:47:53 +08:00
Jun Siang Cheah 9021f068b8 Merge remote-tracking branch 'origin/dev' into feat/backend-web-search 2024-05-16 11:36:53 +08:00
Jun Siang Cheah b6d36ab638 fix: add missing jq in non-ollama images 2024-05-16 10:45:00 +08:00
Jun Siang Cheah fe56c0a7ac feat: add dependabot config for keeping python packages updated 2024-04-30 21:23:52 +01:00
Jun Siang Cheah ddac5284fe feat: specify versions for python packages 2024-04-30 21:21:00 +01:00
Jun Siang Cheah b3ccabd2fe fix: add missing type for splitLargeChunks 2024-04-30 20:56:58 +01:00
Jun Siang Cheah e8bf596959 feat: switch OpenAI SSE parsing to eventsource-parser 2024-04-30 20:56:58 +01:00
Jun Siang Cheah 45f34924b0 feat: run i18next in CI to format and catch translations diffs 2024-04-29 21:10:37 +01:00
Jun Siang Cheah 25af07a0c7 fix: formatting 2024-04-29 21:07:06 +01:00
Jun Siang Cheah bac28222fb fix: make backend/fix.sh executable 2024-04-29 21:01:54 +01:00
Jun Siang Cheah 1c4e63f71e feat: add ENABLE_LOCAL_WEB_FETCH to protect against SSRF attacks 2024-04-29 20:55:17 +01:00
Jun Siang Cheah 527a0b329b fix: fluid stream setting not reflecting current state on load 2024-04-29 00:06:32 +01:00
Jun Siang Cheah f561e94244 fix: refactor db migration tests 2024-04-28 17:00:31 +01:00
Jun Siang Cheah eed6c7194b fix: disable mysql tests 2024-04-28 16:55:53 +01:00
Jun Siang Cheah 167b5712ea feat: add tests for db migration on sqlite, postgres, and mysql 2024-04-28 16:55:16 +01:00
Jun Siang Cheah ed9e99e946 fix: fluid streaming was "pausing" when tab was not visible 2024-04-28 16:51:36 +01:00
Jun Siang Cheah 6a1d60b1b3 feat: warn but not exit if frontend build does not exist 2024-04-28 16:03:30 +01:00
Jun Siang Cheah c095a7c291 feat: abort openai text completion when stopping responses 2024-04-27 21:53:47 +01:00
Jun Siang Cheah c19429848b feat: add HOST to the backend start script 2024-04-27 20:20:48 +01:00
Jun Siang Cheah be038ab878 fix: handle carriage returns in OpenAI streams 2024-04-27 19:07:41 +01:00
Jun Siang Cheah 8df7db1e17 feat: add ability to configure a HTTP ChromaDB client 2024-04-27 18:52:35 +01:00
Jun Siang Cheah 47a33acfeb feat: show error toast if trying to download db on external db 2024-04-27 15:53:31 +01:00
Jun Siang Cheah e91a49c455 feat: add support for using postgres for the backend DB 2024-04-27 15:33:20 +01:00
Jun Siang Cheah 730befce45 feat: add basic cypress test as initial work towards e2e tests 2024-04-27 14:10:10 +01:00
Jun Siang Cheah 615e9e348f fix: do not error out if OpenAI response has no delta 2024-04-26 18:42:43 +01:00
Jun Siang Cheah 510afab37c fix: catch any errors parsing openai sse events 2024-04-26 18:38:25 +01:00
Jun Siang Cheah 5245d037ac fix: harden litellm exec command to prevent unintended commands
logic was previously to split on space for arguments, but if any of the user controlled variables LITELLM_PROXY_HOST or DATA_DIR had spaces in them, this would not behave correctly.
2024-04-23 19:25:43 +01:00
Jun Siang Cheah 58bead0398 fix: DATA_DIR was not respected when loading litellm configs 2024-04-23 19:22:41 +01:00
Jun Siang Cheah 9e9306fd2b feat: add LITELLM_PROXY_HOST to configure address litellm listens on 2024-04-23 19:19:16 +01:00
Jun Siang Cheah 0ea9e19d79 feat: add LITELLM_PROXY_PORT to configure internal proxy port 2024-04-23 19:14:01 +01:00
Jun Siang Cheah ed13da8aba feat: add types to some frontend stores 2024-04-22 20:08:32 +01:00
Jun Siang Cheah e2a8ad5fca address comments, rename to ENABLE_ADMIN_EXPORT 2024-04-22 19:55:46 +01:00
Jun Siang Cheah 190b934ab5 feat: add ALLOW_ADMIN_EXPORT to disable exporting of chats and the db 2024-04-22 19:44:24 +01:00
Jun Siang Cheah 81b7cdfed7 fix: add typescript types for models 2024-04-21 11:41:18 +01:00
Jun Siang Cheah 67df928c7a feat: make chunk splitting a configurable option 2024-04-21 11:00:33 +01:00
Jun Siang Cheah 7e5bda6016 fix: use model name when outputting error message 2024-04-20 21:24:02 +01:00
Jun Siang Cheah efa258c695 feat: split large openai responses into smaller chunkers 2024-04-20 20:34:23 +01:00
Jun Siang Cheah fffd42e4d7 fix: replace all instances of prompt:start and prompt:end 2024-04-13 18:44:49 +01:00
Jun Siang Cheah db817fcf29 feat: add {{prompt:start:length}} and {{prompt:end:length}} to title gen 2024-04-13 18:26:50 +01:00
Jun Siang Cheah 3a661fda1a fix: missing ollama/cuda tags from #1495 2024-04-10 20:58:26 +01:00
Jun Siang Cheah 7050d53718 build ollama and cuda tags 2024-04-10 20:41:36 +01:00
Jun Siang Cheah cd91d8a987 run apt install first for better potential layer caching 2024-04-10 20:25:52 +01:00
Jun Siang Cheah eddaa7fa89 cross compile node 2024-04-10 20:25:52 +01:00
Jun Siang Cheah 550fc63ebd feat: parallelize x86/arm docker builds 2024-04-10 20:25:52 +01:00
Jun Siang Cheah b7ced4e4f1 feat: trigger docker build after release 2024-04-05 20:29:11 +01:00