Commit Graph

1450 Commits

Author SHA1 Message Date
Michael Poluektov
18965dcdac delete keys if envvars are set 2024-08-19 11:03:55 +01:00
Michael Poluektov
a4a7d678f9 move tools utils to utils.tools 2024-08-19 10:53:12 +01:00
Michael Poluektov
fd422d2e3c use filters envvars 2024-08-19 10:46:52 +01:00
Michael Poluektov
ce7a1a73ac remove more nesting 2024-08-19 10:34:44 +01:00
Michael Poluektov
32874a816d add filter toggle envvars 2024-08-19 10:26:16 +01:00
Michael Poluektov
3164354c0b refactor into single wrapper 2024-08-19 10:23:40 +01:00
Timothy J. Baek
7c81509804 feat: merge responses 2024-08-18 20:59:59 +02:00
Timothy Jaeryang Baek
079f37a2d6
Merge pull request #4701 from ndrsfel/fix-rag-embedding-openai-batch-size-environment-variable
fix: RAG with OpenAI embedding models and batch_size environment variable fails silently
2024-08-18 13:24:18 +02:00
Andreas Feldl
0980066363 fix conversion 2024-08-18 12:46:47 +02:00
Timothy J. Baek
176c689f8d fix: unstructured md file parsing issue 2024-08-17 17:20:35 +02:00
Timothy J. Baek
fa20b1dc09 chore: format 2024-08-17 17:17:45 +02:00
Timothy J. Baek
2ca9989d20 refac 2024-08-17 17:15:44 +02:00
Timothy J. Baek
3420818c52 refac 2024-08-17 17:11:58 +02:00
Timothy J. Baek
0ae6ca608c refac 2024-08-17 17:01:35 +02:00
Timothy J. Baek
536b40890a refac 2024-08-17 16:57:27 +02:00
Timothy J. Baek
d5337917db refac 2024-08-17 16:46:04 +02:00
Timothy J. Baek
15f3ebba93 refac 2024-08-17 16:41:34 +02:00
Timothy J. Baek
e71f55e58f refac 2024-08-17 16:32:39 +02:00
Timothy J. Baek
fe747382c1 refac 2024-08-17 16:27:11 +02:00
Timothy J. Baek
c4946d42e0 refac 2024-08-17 16:24:11 +02:00
Timothy J. Baek
862a30842c refac: chat_completion_inlets_handler -> chat_completion_filter_functions_handler 2024-08-17 16:00:18 +02:00
Timothy Jaeryang Baek
cbb0940ff8
Merge pull request #4602 from michaelpoluektov/tools-refac-1
refactor, perf: Tools refactor (progress PR 1)
2024-08-17 15:50:40 +02:00
Craig Quiter
5f36807dbe Note tts defaults are from openai 2024-08-16 15:42:15 -07:00
Craig Quiter
442f50303a Sanitize voice_id 2024-08-16 15:10:53 -07:00
Craig Quiter
4560f3b1ae Return a dict from get_available_voices 2024-08-16 15:10:51 -07:00
Craig Quiter
59d2c670ba Optimize imports 2024-08-16 15:10:47 -07:00
Craig Quiter
02577f6a45 Cache elevenlabs voice call (can take 1s) 2024-08-16 15:10:41 -07:00
Michael Poluektov
b6d6094018
Merge branch 'dev' into tools-refac-1 2024-08-15 21:35:31 +01:00
Timothy J. Baek
8c2ba7f7ea enh: Actions __webui__ flag support 2024-08-15 17:28:43 +02:00
Timothy Jaeryang Baek
723caf2a09
Merge pull request #4621 from nthe/main
feat: Set content-type header in Ollama backend
2024-08-15 15:45:51 +02:00
Timothy J. Baek
ba370438b2 refac: "any maskable" is discouraged 2024-08-15 13:24:47 +02:00
Juraj Onuska
f73a60d96c fix: set content-type header in ollama backend 2024-08-15 13:15:12 +02:00
Sebastian
afe1f13c5b
Make PWA icon maskable 2024-08-15 00:46:22 +02:00
Michael Poluektov
4042219b3e minor refac 2024-08-14 21:40:00 +01:00
Michael Poluektov
fdc89cbcee tool calling refactor 2024-08-14 21:40:00 +01:00
Michael Poluektov
6df6170c44 add get_configured_tools 2024-08-14 21:40:00 +01:00
Michael Poluektov
d598d4bb93 typing and tweaks 2024-08-14 21:40:00 +01:00
Michael Poluektov
790bdcf9fc rename tool calling helpers to use 'tool' instead of 'function' 2024-08-14 21:40:00 +01:00
Michael Poluektov
2efcda837c add try: except back 2024-08-14 21:40:00 +01:00
Michael Poluektov
e86688284a factor out get_function_calling_payload 2024-08-14 21:40:00 +01:00
Michael Poluektov
ff9d899f9c fix more LSP errors 2024-08-14 21:40:00 +01:00
Michael Poluektov
a68b918cbb refactor get_function_call_response 2024-08-14 21:40:00 +01:00
Michael Poluektov
9fb70969d7 factor out get_content_from_response 2024-08-14 21:40:00 +01:00
Michael Poluektov
0c9119d619 move task to metadata 2024-08-14 21:40:00 +01:00
Michael Poluektov
556141cdd8 refactor task 2024-08-14 21:40:00 +01:00
Michael Poluektov
60003c976a rename to chat_completions_inlet_handler for clarity 2024-08-14 21:40:00 +01:00
Michael Poluektov
23f1bee7bd cleanup 2024-08-14 21:40:00 +01:00
Michael Poluektov
589efcdc5f is_chat_completion_request helper, remove nesting 2024-08-14 21:40:00 +01:00
Michael Poluektov
3befadb29f remove unnecessary nesting, remove unused endpoint 2024-08-14 21:40:00 +01:00
Michael Poluektov
0470146d7b replace Tuple with tuple 2024-08-14 13:58:37 +01:00