0xThresh.eth
7fcc545672
fix: batch S3 vectors in groups of 500 to comply with API limitations
2025-08-19 22:05:47 -06:00
Timothy Jaeryang Baek
5e1f4fa0ff
feat: async file upload
2025-08-20 00:36:13 +04:00
Timothy Jaeryang Baek
8eb5807c5f
refac: images generation endpoint size field
2025-08-19 23:14:41 +04:00
Timothy Jaeryang Baek
b3a95f40fc
refac/enh: add performance indexes
...
Co-Authored-By: decent-engineer-decent-datascientist <77806775+decent-engineer-decent-datascientist@users.noreply.github.com>
2025-08-19 03:24:10 +04:00
Tim Jaeryang Baek
96643f5b6d
Merge pull request #14682 from olivier-lacroix/genai-tool-function
...
refactor: Improve tool callable generation to allow for genai native function call
2025-08-19 03:16:12 +04:00
Timothy Jaeryang Baek
575db66295
feat: save temporary chats
2025-08-19 02:37:18 +04:00
Timothy Jaeryang Baek
d6f709574e
refac/enh: async process chat handling
2025-08-19 01:24:53 +04:00
Timothy Jaeryang Baek
4bc77b544e
refac
2025-08-18 23:39:14 +04:00
Timothy Jaeryang Baek
70d0477418
refac: tool name collision handling
2025-08-18 21:28:28 +04:00
Timothy Jaeryang Baek
f592748011
refac: tool server redis cache
2025-08-18 20:53:46 +04:00
Timothy Jaeryang Baek
8a157578f4
enh/refac: ability to specify external tool server id
2025-08-18 20:38:55 +04:00
Timothy Jaeryang Baek
f97f21bf3a
refac/fix: rename WEB_SEARCH_CONCURRENT_REQUESTS to WEB_LOADER_CONCURRENT_REQUESTS
2025-08-18 20:06:36 +04:00
Timothy Jaeryang Baek
68d42ef850
refac
2025-08-18 19:49:29 +04:00
Timothy Jaeryang Baek
6d0f757848
refac: openai model list
2025-08-18 19:45:26 +04:00
Timothy Jaeryang Baek
094a82b264
refac: follow up prompt template
2025-08-18 15:53:44 +04:00
Timothy Jaeryang Baek
d7363fd65f
fix: arena model selected model id
2025-08-17 04:55:45 +04:00
Timothy Jaeryang Baek
f23eb2a31c
refac: audio lang fallback logic
2025-08-17 04:33:42 +04:00
Timothy Jaeryang Baek
ccd2a0be5b
refac
2025-08-17 04:15:13 +04:00
Tim Jaeryang Baek
47560d4d72
Merge pull request #14703 from rragundez/code-interpreter-blacklist
...
feat: Blacklist modules from arbitrary code execution in code interpreter
2025-08-17 04:12:12 +04:00
Timothy Jaeryang Baek
7f0c50f445
refac
2025-08-17 04:06:16 +04:00
Timothy Jaeryang Baek
bed6aa63e1
refac
2025-08-17 03:59:00 +04:00
Tim Jaeryang Baek
6a109e972e
Merge pull request #15863 from tcx4c70/feat/sqlite-wal
...
perf(db): Improve performance of db, especially sqlite
2025-08-17 03:55:59 +04:00
Timothy Jaeryang Baek
2387877dae
refac/fix: model name retrieval edge case
2025-08-17 03:50:55 +04:00
Timothy Jaeryang Baek
35e8c77025
refac/fix
2025-08-17 03:21:14 +04:00
Sihyeon Jang
3da22af859
fix(utils/middleware): flush pending chat deltas on stream termination
...
Guarantees the last partial delta chunk is emitted when the SSE stream closes (EOF, break, or `[DONE]` sentinel).
* Buffer `last_delta_data` and track `delta_count`
* Flush automatically once `delta_count >= chunk_size`
* Perform a final flush after the iterator ends
Signed-off-by: Sihyeon Jang <sihyeon.jang@navercorp.com>
2025-08-16 13:03:57 +09:00
Timothy Jaeryang Baek
43aa23ea77
refac
2025-08-15 14:15:27 +04:00
silentoplayz
b810868239
fix: Alembic CLI commands from failing
2025-08-15 04:17:47 -04:00
Tim Jaeryang Baek
0b59aa940e
Merge pull request #16606 from Rain6435/fix/azure-postgresql-pgvector-permissions
...
fix: resolve Azure PostgreSQL pgvector extension permission issue
2025-08-15 00:59:04 +04:00
Timothy Jaeryang Baek
f1c28455ad
refac: async webhook request
2025-08-15 00:07:02 +04:00
Timothy Jaeryang Baek
daa4b3284f
refac/fix: OAUTH_GROUPS_CLAIM env var
2025-08-14 23:59:54 +04:00
Timothy Jaeryang Baek
057533f9cc
refac
2025-08-14 16:56:08 +04:00
Rain6435
a1e62ab422
fix: Formatting
2025-08-14 01:50:57 -04:00
Rain6435
1a42e96a3b
fix: resolve Azure PostgreSQL pgvector extension permission issue
...
Replace direct CREATE EXTENSION commands with conditional checks to avoid
permission errors on Azure PostgreSQL Flexible Server where only
azure_pg_admin members can create extensions.
- Check pg_extension table before attempting to create vector extension
- Apply same fix to pgcrypto extension for consistency
- Allows following least privilege principle for database users
Fixes #12453
2025-08-14 01:45:02 -04:00
Timothy Jaeryang Baek
13fe78428b
refac
2025-08-14 04:50:33 +04:00
Timothy Jaeryang Baek
b43acc2b3d
refac/fix: tag attribute handling
2025-08-14 04:04:34 +04:00
Timothy Jaeryang Baek
3e8d3b08fa
refac
2025-08-14 04:04:20 +04:00
Timothy Jaeryang Baek
ad98d4300b
refac/fix: milvus query logic
2025-08-14 03:18:38 +04:00
Timothy Jaeryang Baek
93205d4320
fix: pending user display content
2025-08-14 02:27:24 +04:00
Timothy Jaeryang Baek
2ed9896dea
refac/fix: oauth jwt cookie
2025-08-14 02:00:38 +04:00
Tim Jaeryang Baek
0845b7ffe5
Merge pull request #16582 from koflerm/patch-1
...
Fix: Retrieve Username Claim from Userinfo Endpoint
2025-08-13 19:23:44 +04:00
Timothy Jaeryang Baek
ff55ca4d75
fix: temp chat not working
2025-08-13 19:18:30 +04:00
Markus Kofler
2011e5711d
Enable Retrieving Username Claim from Userinfo Endpoint
2025-08-13 16:27:25 +02:00
Timothy Jaeryang Baek
e7d9755d97
refac
2025-08-13 18:18:30 +04:00
Tim Jaeryang Baek
8a745b9bbf
Merge branch 'dev' into fix_model_access
2025-08-13 18:07:29 +04:00
Tim Jaeryang Baek
37b8ea3ab2
Merge pull request #16557 from ShirasawaSama/patch-3
...
feat: Add administrator permission control (BYPASS_MODEL_ACCESS_CONTROL) to the two remaining main APIs
2025-08-13 17:56:39 +04:00
Timothy Jaeryang Baek
4cca1829c2
refac
2025-08-13 17:49:57 +04:00
Timothy Jaeryang Baek
230e21b10c
Revert "Merge pull request #16547 from Gyarbij/main"
...
This reverts commit dd3cd4ac4f , reversing
changes made to f0c2d47b24 .
2025-08-13 17:49:19 +04:00
Tim Jaeryang Baek
dd3cd4ac4f
Merge pull request #16547 from Gyarbij/main
...
fix: improve model sorting by handling missing names
2025-08-13 17:48:46 +04:00
Shirasawa
e966f54001
feat: Add administrator permission control to the two remaining APIs
2025-08-13 07:02:36 +00:00
Chono N
23575825a1
fix: improve model sorting by handling missing names
2025-08-12 22:27:59 +02:00
Tim Jaeryang Baek
1e67035bd3
Merge pull request #16523 from expruc/perf/hybrid_search_bm_25
...
perf: disable collection retrieval and bm_25 calculation if bm_25 weight is 0
2025-08-12 23:55:26 +04:00
expruc
74b1c80132
disable collection retrieval and bm_25 calculation if bm_25 weight is 0 or less
2025-08-12 15:53:39 +03:00
Thomas Rehn
7aa41d5d0c
feat: use AIOHTTP_CLIENT_TIMEOUT for tool calls to make timeout configurable
2025-08-12 12:29:02 +02:00
Classic298
df314fda1d
Update main.py
2025-08-11 23:41:49 +02:00
Classic298
f758bf74c2
Update main.py
2025-08-11 23:39:01 +02:00
Classic298
357b57e1d6
Update models.py
2025-08-11 23:36:48 +02:00
Classic298
d8c4dd6f79
Fix admin model access ( #17 )
...
* Update models.py
* Update models.py
* Update models.py
* Update ollama.py
* Update openai.py
* Update models.py
* Update openai.py
* Update ollama.py
2025-08-11 23:23:44 +02:00
Timothy Jaeryang Baek
f890fe6901
enh: allow plaintext for external tool servers
2025-08-11 17:36:36 +04:00
Timothy Jaeryang Baek
97448e25ec
fix: openai error handling
2025-08-11 17:00:06 +04:00
Timothy Jaeryang Baek
890691319f
fix: s3vector import issue
2025-08-11 16:23:08 +04:00
Timothy Jaeryang Baek
21094ca88b
fix: pinecone insert issue
2025-08-11 16:22:58 +04:00
Timothy Jaeryang Baek
fbf5f2bb67
refac: disable direct connections by default to avoid confusion
2025-08-11 13:49:53 +04:00
Timothy Jaeryang Baek
32a022a823
enh: v1 endpoint support
2025-08-11 00:45:59 +04:00
Timothy Jaeryang Baek
fbb8c111ed
refac
2025-08-11 00:39:12 +04:00
Timothy Jaeryang Baek
059cc636f6
fix: openai response propagation issue
2025-08-11 00:37:06 +04:00
Adam Tao
7bd7559bfe
refactor: format
...
Signed-off-by: Adam Tao <tcx4c70@gmail.com>
2025-08-10 22:28:31 +08:00
Adam Tao
635cb8e3ff
perf(db): deduplicate update_user_last_active_by_id to reduce conflicts
...
Signed-off-by: Adam Tao <tcx4c70@gmail.com>
2025-08-10 22:28:31 +08:00
Adam Tao
b23abcbfe5
feat(db): Add DATABASE_ENABLE_SQLITE_WAL to enable SQLite WAL
...
Signed-off-by: Adam Tao <tcx4c70@gmail.com>
2025-08-10 22:28:31 +08:00
Timothy Jaeryang Baek
77dcfb5062
chore: format
2025-08-10 16:54:49 +04:00
Athanasios Oikonomou
dc453efa5c
feat: Display assigned user groups in Admin Panel
...
Description:
This PR adds the ability to view a user’s assigned groups in the Admin Panel when editing a user.
Backend Changes:
Added a new endpoint:
GET /api/v1/users/{user_id}/groups
Returns the list of groups assigned to a specific user.
Requires admin privileges.
Frontend Changes:
Implemented getUserGroupsById API function to call the new backend endpoint, in lib/apis/users.
Updated EditUserModal.svelte to:
Load user groups asynchronously when the modal is opened.
Display the groups inline in the form before the Save button.
Show a loading state while fetching, and a “No groups assigned” message if none exist.
Result:
Admins can now see which groups a user belongs to directly from the edit user modal,
improving visibility and reducing the need to navigate away for group membership checks.
2025-08-10 14:49:01 +03:00
Timothy Jaeryang Baek
d5ad0ae862
refac
2025-08-10 13:49:28 +04:00
Timothy Jaeryang Baek
cd778582d5
fix: undefined model_id issue
2025-08-10 13:48:12 +04:00
xhejtman
c4e0051ab2
Fix audit get_current_user
...
get_current_user has 4 args not 3 args:
```
get_current_user(
request: Request,
response: Response,
background_tasks: BackgroundTasks,
auth_token: HTTPAuthorizationCredentials = Depends(bearer_security)
```
2025-08-10 02:10:00 +02:00
Timothy Jaeryang Baek
3f7d3def02
enh: folder filter
2025-08-10 02:10:18 +04:00
Timothy Jaeryang Baek
6497b46a78
refac
2025-08-10 01:44:33 +04:00
Timothy Jaeryang Baek
d8c76e9a0c
refac
2025-08-10 01:31:07 +04:00
Timothy Jaeryang Baek
b1d5e3b687
refac
2025-08-10 01:29:51 +04:00
Timothy Jaeryang Baek
c77b36bdcc
refac
2025-08-10 00:02:58 +04:00
Timothy Jaeryang Baek
77189664c2
chore: format
2025-08-09 23:57:35 +04:00
Timothy Jaeryang Baek
f85aaa4ed9
refac: sqlcipher3-wheels as optional
2025-08-09 23:56:17 +04:00
Tim Jaeryang Baek
86fa564b44
Merge pull request #16132 from rndmcnlly/feature/sqlcipher-database-encryption
...
feat: Implement SQLCipher support for database encryption
2025-08-09 23:55:03 +04:00
Tim Jaeryang Baek
53425ffadb
Merge pull request #16419 from expruc/feat/qdrant_improvements
...
feat: qdrant client improvements
2025-08-09 23:52:12 +04:00
Tim Jaeryang Baek
17ca02aa6b
Merge pull request #16417 from Ithanil/prevent_idle_transactions
...
fix: Prevent idle transactions with PGvector DB
2025-08-09 23:51:51 +04:00
Timothy Jaeryang Baek
4e9c75be50
enh: CHAT_RESPONSE_STREAM_DELTA_CHUNK_SIZE
2025-08-09 23:49:56 +04:00
Timothy Jaeryang Baek
1a93891d97
feat: stream delta chunk
...
Co-Authored-By: Jan Kessler <Ithanil@users.noreply.github.com>
2025-08-09 23:43:27 +04:00
expruc
8af9ad3f30
updated query function with scroll too
2025-08-09 22:04:41 +03:00
expruc
88abd01b87
qdrant client improvements
2025-08-09 21:12:30 +03:00
Jan Kessler
3a9601c053
use .rollback() after read-only transaction on pgvector to avoid infinitely idle transactions (and errors in certain scenarios)
2025-08-09 20:09:45 +02:00
Timothy Jaeryang Baek
4485c7a5d2
refac
2025-08-09 21:38:31 +04:00
Timothy Jaeryang Baek
caf8482fba
refac
2025-08-09 21:34:47 +04:00
Timothy Jaeryang Baek
f4d2c6027a
refac
2025-08-09 21:10:12 +04:00
Timothy Jaeryang Baek
4b41cd1891
chore: format
2025-08-09 02:05:07 +04:00
Tim Jaeryang Baek
17084f629c
Merge pull request #16385 from gaby/2025-08-08-13-38-31
...
feat: Propagate upstream OpenAI router errors
2025-08-09 00:58:14 +04:00
Timothy Jaeryang Baek
c1d566bad4
enh: oauth_sub_claim
2025-08-09 00:46:14 +04:00
Timothy Jaeryang Baek
e8cb57750b
refac/fix: serply
2025-08-09 00:37:37 +04:00
Timothy Jaeryang Baek
736b29ddca
refac
2025-08-09 00:33:41 +04:00
Timothy Jaeryang Baek
f923a85f40
refac/fix: reasoning_content chunk
2025-08-09 00:31:28 +04:00
Tim Jaeryang Baek
8714df17dd
Merge pull request #16381 from psy42a/patch-1
...
fix: failure to bind metadata variable on insert for PGVECTOR_PGCRYPTO feature returning syntax error
2025-08-09 00:26:30 +04:00
Tim Jaeryang Baek
9fbc76f4bb
Merge pull request #16397 from 17jmumford/add_gpt_5_max_token_handling
...
fix: added gpt-5 to reasoning model payload handler
2025-08-09 00:22:30 +04:00
Jeremy Mumford
c69f2cc776
updated comments
2025-08-08 14:20:14 -06:00