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

Merge latest version to cit-dify #7

Open
wants to merge 2,873 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2873 commits
Select commit Hold shift + click to select a range
375aa38
fix: improve content decoding in AppDslService (#12304)
laipz8200 Jan 2, 2025
e58e573
fix: add full doc mode preview length limit (#12310)
WTW0313 Jan 2, 2025
3d150c3
fix: utcfromtimestamp is Deprecated change to new api (#12120)
yihong0618 Jan 2, 2025
52b2559
fix(app.py): if condition (#12314)
laipz8200 Jan 2, 2025
6f5a8a3
refactor: replace gevent threadpool with ProcessPoolExecutor in GPT2T…
laipz8200 Jan 3, 2025
baeddd4
feat:Add support for stop parameter in hunyuan model #12313 (#12315)
xander-art Jan 3, 2025
7c1961e
feat: Add response format support to GLM-4 (#12252)
dysodeng Jan 3, 2025
7c71bd7
doc: Added explanation of chunk_overlap to knowledge API (#12247)
yagiyuki Jan 3, 2025
a210563
chore: change app card layout follow by #10847 (#12317)
ZuzooVn Jan 3, 2025
2b1a32f
feat: Add filter to show only apps created by the user (#11968)
miya Jan 3, 2025
b873e63
add child chunk preview number limit (#12309)
JohnJyong Jan 3, 2025
3c2e30f
fix: #12143 support streaming mode content start with "data:" (#12171)
jifei Jan 3, 2025
478150e
chore: fix typo in zh-Hant localization (#12329)
Timmy-web Jan 3, 2025
7ed6485
refactor: streamline initialization of application_generate_entity an…
laipz8200 Jan 3, 2025
a5fb59b
fix: Encode Chinese characters with Unicode before querying to match …
xhdd123321 Jan 3, 2025
6df17a3
fix: Update the API call address for the text_embedding model (#12342)
fchange Jan 3, 2025
7069802
fix: empty delete bug (#12339)
huangzhuo1949 Jan 3, 2025
6c9e6a3
fix: fix issue with `chat-input-area` clearing during Responding stat…
Woo0ood Jan 4, 2025
b8ba39d
Bugfix/style and i18n fixes (#12350)
Woo0ood Jan 4, 2025
682ebc5
Fix the issue where `TextGeneration` component does not correctly cle…
Woo0ood Jan 4, 2025
b680a85
fix: resolve issue with the opening statement generated by the `Autom…
Woo0ood Jan 4, 2025
1fa6640
feat: support configuration of refresh token expiration by environmen…
euxx Jan 4, 2025
455b0cd
chore: chat app textarea auto focus (#12366)
xuzuodong Jan 5, 2025
3b8f623
feat: support config top max value by env (#12375)
iamjoel Jan 6, 2025
9c317b6
sandbox doesn't provide auto disable log (#12388)
JohnJyong Jan 6, 2025
147d578
[Fix] revert sagemaker llm to support model hub (#12378)
warren830 Jan 6, 2025
34519de
fix: enhance chunk list management with new invalidation keys and imp…
WTW0313 Jan 6, 2025
fe26be2
fix: http method can be upper case and lower case close #11877 (#12401)
yihong0618 Jan 6, 2025
409cc7d
mark deprecated models in siliconflow #12399 (#12405)
senseb Jan 7, 2025
2bb521b
Support TTS and Speech2Text for Model Provider GPUStack (#12381)
alexcodelf Jan 7, 2025
dc650c5
Fixes #12414: Add cheaper model and long context model for Qwen2.5-72…
senseb Jan 7, 2025
196ed81
fix: [PromptEditorHeightResizeWrap] Bug #12410 (#12406)
cnwhy Jan 7, 2025
d3f5b1c
refactor: use tiktoken for token calculation (#12416)
laipz8200 Jan 7, 2025
acacf35
chore(docker/.env.example): Add TOP_K_MAX_VALUE to the `.env.example`…
laipz8200 Jan 7, 2025
15797c5
add fish-speech-1.5 from siliconflow (#12425)
senseb Jan 7, 2025
9677144
fix:deepseek tool call not working correctly (#12437)
leslie2046 Jan 7, 2025
41f39bf
Fix newline characters in tables during document parsing (#12112)
Hisir0909 Jan 7, 2025
0eeacdc
refactor: enhance API token validation with session locking and last …
laipz8200 Jan 7, 2025
c236f05
chore: bump version to 0.15.0 (#12297)
laipz8200 Jan 7, 2025
2a14c67
Fix #12448 - update bedrock retrieve tool, support hybrid search type…
ybalbert001 Jan 7, 2025
4e6c863
Add 'document' feature to Sonnet 3.5 through OpenRouter (#12444)
infinitnet Jan 7, 2025
fd2bfff
remove knowledge admin role (#12450)
JohnJyong Jan 7, 2025
67228c9
fix: url with variable not work (#12452)
hjlarry Jan 7, 2025
4295cef
fix: allow fallback to remote_url when url is not provided (#12455)
fujita-h Jan 7, 2025
05bda6f
add tidb on qdrant redis lock (#12462)
JohnJyong Jan 8, 2025
6222179
Revert "fix:deepseek tool call not working correctly" (#12463)
crazywoola Jan 8, 2025
6635c39
fix: adjust opacity for model selector based on readonly state (#12472)
WTW0313 Jan 8, 2025
d258627
Feat elasticsearch japanese (#12194)
fujita-h Jan 8, 2025
53bb37b
fix: fix the incorrect plaintext file key when saving (#10429)
acelyc111 Jan 8, 2025
0a49d3d
fix: tiktoken cannot be loaded without internet (#12478)
laipz8200 Jan 8, 2025
d649037
feat: support single run doc extractor node (#11318)
hjlarry Jan 8, 2025
040a3b7
FEAT: support milvus to full text search (#11430)
kgpp34 Jan 8, 2025
bee32d9
fix #12453 #12482 (#12495)
JohnJyong Jan 8, 2025
f4ee50a
chore: improve app doc (#12490)
hjlarry Jan 8, 2025
1b940e7
feat: add ci job to test template for docker compose (#12514)
kurokobo Jan 8, 2025
b4c1c2f
fix: Reverse sync docker-compose-template.yaml (#12509)
fujita-h Jan 9, 2025
b7a4e39
fix: add last_refresh_time to track the validity of is_other_tab_refr…
douxc Jan 9, 2025
dbe7a7c
Fix: Add a INFO-level log when fallback to gpt2tokenizer (#12508)
halogen22 Jan 9, 2025
20f0905
feat: add GET upload file API endpoint to dataset service api (#11899)
euxx Jan 9, 2025
e84bf35
fix: same chunk insert deadlock (#12502)
huangzhuo1949 Jan 9, 2025
f230a92
fix: Parsing OpenAPI spec for external tools (#12518) (#12530)
lotsik Jan 9, 2025
a085ad4
feat: show workflow running status (#12531)
crazywoola Jan 9, 2025
f549d53
fix: sum costs return error value on overview page (#12534)
douxc Jan 9, 2025
2e97ba5
fix: Add datasets list access control and fix datasets config display…
WTW0313 Jan 9, 2025
14ee51a
Feat/add knowledge include all filter (#12537)
JohnJyong Jan 9, 2025
140965b
chore: translate i18n files (#12543)
github-actions[bot] Jan 9, 2025
989fb11
improve the readability of the function generate_api_key (#12552)
gakkiyomi Jan 9, 2025
d8f57bf
Feat/new saas billing (#12591)
JohnJyong Jan 12, 2025
cd257b9
Fix pandas indexing method for knowledge base imports (#12637) (#12638)
CN-P5 Jan 13, 2025
a645526
chore: Adjust translations to align with Taiwanese Mandarin conventio…
chuehnone Jan 13, 2025
4e10160
fix: ruff check for True if ... else (#12576)
yihong0618 Jan 13, 2025
831459b
fix: ruff with statements (#12578)
yihong0618 Jan 13, 2025
54b5b80
fix(workflow): fix answer node stream processing in conditional branc…
Kevin9703 Jan 13, 2025
9a6b1dc
Revert "Feat/new saas billing" (#12673)
JohnJyong Jan 13, 2025
c700364
fix: Update variable handling in VariableAssignerNode and clean up ap…
laipz8200 Jan 13, 2025
cb34991
fix: add type hints for App model and improve error handling in audio…
laipz8200 Jan 13, 2025
69d58fb
Add new integration with Opik Tracking tool (#11501)
Lothiraldan Jan 13, 2025
1859d57
api tool support multiple env url (#12249)
mboo2005 Jan 13, 2025
b4873ec
[fix] support feature restore (#12563)
warren830 Jan 13, 2025
1e9ac7f
feat: add table of contents to Knowledge API doc (#12688)
euxx Jan 13, 2025
6e0fb05
chore: bump version to 0.15.1 (#12690)
laipz8200 Jan 13, 2025
435eddd
Feat: copyright modification (#12707)
JzoNgKVO Jan 14, 2025
0800021
chore: translate i18n files (#12708)
github-actions[bot] Jan 14, 2025
bc3a570
fix: Fix rerank model switching issue (#12721)
WTW0313 Jan 14, 2025
e3c9966
feat: enhance credential extraction logic based on configurate method…
fujita-h Jan 20, 2025
6ea77ab
fix: DeepSeek API Error with response format active (text and json_o…
jiandanfeng Jan 20, 2025
8dfdee2
chore: fix chinese translation for 'recall' (#12772)
xhdd123321 Jan 20, 2025
677a69d
fix(i18n): correct typo in zh-Hant translation (#12852)
yenslife Jan 20, 2025
210926c
Fix suggested_question_prompt (#12738)
xu-song Jan 20, 2025
80801ac
fix: "parmas" spelling mistake. (#12875)
jiandanfeng Jan 20, 2025
9d86147
fix: SparkLite API Auth error (#12781) (#12790)
jiandanfeng Jan 20, 2025
3defd24
feat: allow updating chunk settings for the existing documents (#12833)
kurokobo Jan 21, 2025
5ff08e2
fix: serply credential check query might return empty records (#12784)
rayshaw001 Jan 21, 2025
925d69a
feat:Support Minimax-Text-01 (#12763)
AAlexDing Jan 21, 2025
166221d
chore(lint): fix quotes for f-string formatting by bumping ruff to 0.…
bowenliang123 Jan 21, 2025
9aaee8e
fix: Issues related to the deletion of conversation_id (#12488) (#12665)
jiandanfeng Jan 21, 2025
6fad719
chore(fix): Invalid quotes for using Array[String] in HTTP request no…
bowenliang123 Jan 21, 2025
9903f1e
add deepseek-reasoner (#12898)
wangiii Jan 21, 2025
0c6a8a1
fix: external dataset hit test display issue(#12564) (#12612)
le0zh Jan 21, 2025
a7b9375
Update deepseek model configuration (#12899)
wangiii Jan 21, 2025
46e95e8
fix: OpenAI o1 Bad Request Error (#12839)
k-zaku Jan 21, 2025
6d0cb9d
fix: variable panel scrollable (#12769)
xhdd123321 Jan 21, 2025
6db3ae9
chore: remove webapp ga (#12909)
iamjoel Jan 21, 2025
3d1ce4c
bug: fixed bedrock rerank bug (#12774)
luckylhb90 Jan 21, 2025
162a8c4
fix update segment keyword with same content (#12908)
JohnJyong Jan 21, 2025
2f41bd4
fix:Fix a bug that returns null when the passed path is a file. (#12775)
jiangbo721 Jan 22, 2025
f582d4a
feat: Add ability to change profile avatar (#12642)
miya Jan 22, 2025
e23f4b0
feat: add gemini-2.0-flash-thinking-exp-01-21 (#12924)
jiandanfeng Jan 22, 2025
e09f6e4
feat: support config chunk length by env (#12925)
iamjoel Jan 22, 2025
05a0faf
fix: app token's last_used_at can't be updated when last_used_at is n…
Egfly Jan 22, 2025
8429877
fix: Agent is configured for ReAct inference mode, an error is report…
jiandanfeng Jan 22, 2025
3ee213d
add milvus full text search setting (#12930)
JohnJyong Jan 22, 2025
c62b7cc
chore(build): bump poetry from 1.x to 2.x (#12369)
bowenliang123 Jan 22, 2025
f91f5c7
fix(batch_create_segment_to_index_task): count max_position in memory…
laipz8200 Jan 22, 2025
8dd1873
feat: workflow note dark theme (#12932)
zxhlyh Jan 22, 2025
71fa14f
fix: resolve clipboard.writeText failure under HTTP protocol (#12936)
le0zh Jan 22, 2025
d167d5b
feat(ark): support doubao 1.5 series of models (#12935)
sinomoe Jan 22, 2025
1e73f63
chore: update version to 0.15.2 in packaging and docker configuration…
laipz8200 Jan 22, 2025
4c3076f
feat: add pg vector index (#12338)
huangzhuo1949 Jan 22, 2025
dd0904f
feat: add giteeAI risk control identification. (#12946)
jiandanfeng Jan 22, 2025
fd4afe0
fix: tools translate search (#12950)
Jhvcc Jan 22, 2025
f565f08
fix: get property of string type variable caused page crash (#12969)
iamjoel Jan 23, 2025
6024d8a
refactor: Update Firecrawl to use v1 API (#12574)
ftonato Jan 23, 2025
e54ce47
Feat/prompt editor dark theme (#12976)
zxhlyh Jan 23, 2025
da67916
feat: add glm-4-air-0111 (#12997)
Jhvcc Jan 24, 2025
2806764
fix: wrong zh_Hans translation: Ohio (#13006)
iwaim Jan 24, 2025
a2b9adb
Change typo in translation (#13004)
y10ab1 Jan 24, 2025
a2f8bce
chore: add Japanese translation: model_providers/bedrock (#13016)
iwaim Jan 24, 2025
59b3e67
feat: add agent thinking content display of deepseek R1 (#12949)
hjlarry Jan 24, 2025
b2bbc28
support bedrock kb: retrieve and generate (#13027)
warren830 Jan 25, 2025
1374be5
fix: Unexpected tag creation when pressing enter during tag conversio…
miya Jan 25, 2025
d4be5ef
Update Novita AI predefined models (#13045)
jasonhp Jan 26, 2025
d1fc65f
fix: adjust iteration node dark style (#13051)
douxc Jan 26, 2025
a6a727e
feat: add inner API to create workspace without requiring email (#13021)
zhangx1n Jan 26, 2025
aad7e4d
fix:Improve MIME type detection for remote URL uploads using python-m…
yjc980121 Jan 27, 2025
edc2978
fix: "Model schema not found" error only in agents (#12655) (#12760)
jiandanfeng Jan 27, 2025
6c31ee3
fix qwen-vl blocking mode (#13052)
hieheihei Jan 27, 2025
5d91dbd
Set default LOG_LEVEL to INFO for celery workers and beat (#13066)
osaimi Jan 27, 2025
560c5de
Fixed Novita AI color and added DeepSeek R1 model (#13074)
jasonhp Jan 28, 2025
23c68ef
fix: fix the formatter is not applied on log file (#12704)
acelyc111 Jan 28, 2025
d44882c
refactor: reduce duplciate code by inheritance (#13073)
acelyc111 Jan 28, 2025
d0a2108
refactor: Update Firecrawl API parameters and default settings (#13082)
ftonato Jan 29, 2025
b4b09dd
add tongyi qwen2.5-14b/7b-instruct-1m model (#13089)
hieheihei Jan 29, 2025
b09c39c
refactor: avoid to use extra space when finding model by name (#13043)
acelyc111 Jan 30, 2025
c0d0c63
feat: switch to chat messages before regenerated (#11301)
xuzuodong Jan 31, 2025
b47669b
fix: deduct LLM quota after processing invoke result (#13075)
laipz8200 Feb 2, 2025
ee61ced
test(huggingface_hub): Skip the failed test temporarily. (#13142)
laipz8200 Feb 2, 2025
c2664e0
chore: fix wrong VectorType match case (#13123)
tmokmss Feb 2, 2025
d73d191
feature. add feat to modify metadata via dataset api (#13116)
aplio Feb 2, 2025
941ad03
pass model and cost so that langfuse can show cost (#13117)
obadakhalili Feb 2, 2025
840729a
feat: the think tag display of siliconflow's deepseek r1 (#13153)
hjlarry Feb 2, 2025
d876084
chore: upgrade libldap2 (#13158)
ZuzooVn Feb 3, 2025
87e2048
nitpick: fix small typos in template.en.mdx (#13156)
aplio Feb 3, 2025
7452032
add azure openai api version 2024-12-01-preview (#13135)
kei-yamazaki Feb 3, 2025
304467e
fix: not install libmagic raise error (#13146)
hjlarry Feb 3, 2025
1b6fd9d
fix: set indexing technique from dataset during update-by-text (#13155)
aplio Feb 3, 2025
8fbc9c9
Solve circular dependency issue between `workflow/constants.ts` file …
obadakhalili Feb 4, 2025
d4c916b
chore(pyproject): Add type stubs into `pyproject.toml` (#13145)
laipz8200 Feb 4, 2025
e9e34c1
Install apt dependencies using bookworm source, consistent with base …
deephbz Feb 5, 2025
55ce361
fix: Dollar Sign Handling in Markdown (#13178)
Riddhimaan-Senapati Feb 5, 2025
2ad7ee0
chore: add tests for build docker image when dockerfile changed (#10732)
bowenliang123 Feb 5, 2025
03243cb
Modify params for bedrock retrieve generate (#13182)
warren830 Feb 5, 2025
1a2523f
feat: bedrock_endpoint_url (#12838)
2284730142 Feb 5, 2025
38c10b4
Feat: add linkedin to readme (#13203)
Riddhimaan-Senapati Feb 5, 2025
a97cec5
fix: SSRF proxy file descriptor leak in concurrent requests (#13108)
ZuzooVn Feb 5, 2025
fac83e1
Use DefaultAzureCredential for managed identity in azure blob extenti…
te-chan2 Feb 5, 2025
9e1457c
fix: mypy checks violation in AzureBlobStorage (#13215)
bowenliang123 Feb 5, 2025
59ca44f
chore(model_runtime): Move deepseek ahead in the providers list. (#13…
laipz8200 Feb 5, 2025
e8b3b7e
Fix new variables in the conversation opener would override prompt_va…
HQidea Feb 5, 2025
8fbb355
chore: squash system dependencies installation steps (#13206)
bowenliang123 Feb 5, 2025
34b21b3
feat: Add o3-mini and o3-mini-2025-01-31 model variants (#13129)
Joshbly Feb 5, 2025
c6ddf6d
feat(model_providers): Add Groq DeepSeek-R1-Distill-Llama-70b (#13229)
laipz8200 Feb 5, 2025
00458a3
feat: added deepseek r1 and v3 to siliconflow (#13238)
Riddhimaan-Senapati Feb 5, 2025
a6a2503
fix: updated _position.yaml to include the latest model already integ…
Riddhimaan-Senapati Feb 6, 2025
5a685f7
feat: add think display for volcengine and generic openapi (#13234)
xhebox Feb 6, 2025
7203991
feat: add parameter "reasoning_effort" and Openai o3-mini (#13243)
k-zaku Feb 6, 2025
9457b2a
feat: added models :gemini 2.0 flash 001 and gemini 2.0 pro exp 02-05…
Riddhimaan-Senapati Feb 6, 2025
7673c36
feat(model): add gemini-2.0-flash-thinking-exp-01-21 (#13230)
wangiii Feb 6, 2025
da2ee04
fix: correct linewrap think display in generic openai api (#13260)
xhebox Feb 6, 2025
f6c44ca
feat(model): add gemini-2.0 model (#13266)
wangiii Feb 6, 2025
87763fc
feat(model_providers): Support deepseek for Azure AI Foundry (#13267)
laipz8200 Feb 6, 2025
03ec351
Fix bug large data no render (#12683)
weiwenyan-dev Feb 6, 2025
6d66d6d
feat(model_providers): Support deepseek-r1 for Nvidia Catalog (#13269)
laipz8200 Feb 6, 2025
40dd63e
Upgrade oracle models (#13174)
engchina Feb 6, 2025
186e2d9
chore(deps): bump katex from 0.16.10 to 0.16.21 in /web (#13270)
dependabot[bot] Feb 6, 2025
49b4144
fix: add dataset edit permissions (#13223)
WTW0313 Feb 6, 2025
0d13aee
feat:add deepseek r1 think display for ollama provider (#13272)
leslie2046 Feb 6, 2025
16865d4
feat: add deepseek models for volcengine provider (#13283)
xhdd123321 Feb 6, 2025
ba91f34
fix: incorrect transferMethod assignment for remote file (#13286)
le0zh Feb 6, 2025
f7e7a39
feat:add think tag display for xinference deepseek r1 (#13291)
leslie2046 Feb 6, 2025
2348abe
feat: added a couple of models not defined in vertex ai, that were al…
Riddhimaan-Senapati Feb 7, 2025
e638ede
Update README_TR.md (#13294)
kemalmeler Feb 7, 2025
04d13a8
feat(credits): Allow to configure model-credit mapping (#13274)
laipz8200 Feb 7, 2025
6e5c915
feat(model): add deepseek-r1 for openrouter (#13312)
sinomoe Feb 7, 2025
be46f32
fix(credits): require model name equals (#13314)
laipz8200 Feb 7, 2025
3eb3db0
chore: refactor the OpenAICompatible and improve thinking display (#1…
hjlarry Feb 7, 2025
b7c11c1
Fix the problem of Workflow terminates after parallel tasks execution…
lazyFrogLOL Feb 7, 2025
1caa578
chore(*): Update style of thinking (#13319)
laipz8200 Feb 7, 2025
3f42fab
chore:improve thinking display for llm from xinference and ollama pro…
leslie2046 Feb 7, 2025
f951590
fix: Azure AI Foundry model cannot be used in the workflow (#13323)
laipz8200 Feb 7, 2025
413dfd5
feat: add completion mode and context size options for LLM configurat…
laipz8200 Feb 7, 2025
ca19bd3
chore(*): Bump version to 0.15.3 (#13308)
laipz8200 Feb 7, 2025
ae6f674
Chore: update app detail panel (#13337)
YIXIAO0 Feb 7, 2025
38c31e6
add enable_search parameter to qwen_max, plus, turbo (#13335)
Tuyohai Feb 7, 2025
a081b1e
fix: add compatibility config for third-party S3-compatible providers…
xhdd123321 Feb 7, 2025
ebdbaf3
chore: translate i18n files (#13349)
github-actions[bot] Feb 7, 2025
8f9db61
feat: added new silicon flow models (#13369)
Riddhimaan-Senapati Feb 8, 2025
c8dcde6
fix: Gemini 2.0 Flash 001 model yaml file naming (#13372)
fdb02983rhy Feb 8, 2025
982bca5
fix: add rate limiting to prevent brute force on password reset (#13292)
zhangx1n Feb 8, 2025
b3ae6b6
feat: add pan and zoom support for MiniMap (#13382)
KatyTao Feb 8, 2025
3112b74
fix: build failed due to `getPrevChatList` no longer exists (#13383)
xuzuodong Feb 8, 2025
6622c7f
fix: Fix HTTP request node non 443 port SSL site inaccessible (#13376)
h4ckdepy Feb 8, 2025
cf36745
fix(workflow_tool): enable File parameter support after workflow is p…
HuChundong Feb 8, 2025
78708eb
fix: merge conflict between #11301 and #11885 (#13391)
xuzuodong Feb 8, 2025
286cdc4
reasoning model unified think tag is <think></think> (#13392)
junjiem Feb 8, 2025
45874c6
Nitpick/fix typos in document (#13413)
aplio Feb 8, 2025
f7959bc
fix(chatbot): update button class to include text color for better vi…
aplio Feb 8, 2025
ab2e6c1
Fixes #13415 reset model-provider-page form value use schema.default …
muzea Feb 8, 2025
0451333
fix(settings): add notClearable prop to language selection (#13406)
aplio Feb 8, 2025
b05e9d2
feat: update backend documentation (#13374)
Riddhimaan-Senapati Feb 8, 2025
37117c2
feat(model): support Gemini 2.0 Flash Lite Preview model (02-05) in G…
takatea Feb 9, 2025
c189629
Fix(i18n): Refine zh-Hant workflow translations (#13421)
yenslife Feb 9, 2025
c3c575c
Fix: model selector UI hover issue (#13396)
YIXIAO0 Feb 9, 2025
811d72a
feat: added a _position.yaml for vertex ai provider (#13367)
Riddhimaan-Senapati Feb 9, 2025
e0d1cab
fix: add missed background color to iteration node (#13448)
douxc Feb 10, 2025
33ecceb
Feat: add comparison table to main readme (#13435)
Riddhimaan-Senapati Feb 10, 2025
f307c7c
feat: Docker adds SSRF-related timeout settings (#13395)
gubinjie Feb 10, 2025
939a9ec
chore: use the wrap thinking api for volcengine (#13432)
xhebox Feb 10, 2025
75113c2
Feat : add deepseek support for tongyi (#13445)
droxer Feb 10, 2025
7796984
Fix: Removed model params except max_token for deepseek r1 in volceng…
droxer Feb 10, 2025
2290f14
feat: add tooltip if user's anthropic trial quota still available (#1…
douxc Feb 10, 2025
c8357da
[Fix] Sagemaker LLM Provider can't adjust context size, it'a always 2…
ybalbert001 Feb 10, 2025
9f3fc7e
ci: make ci safe using zizmor (#13397)
yihong0618 Feb 10, 2025
3399042
fix: add ids in FetchDatasetsParams (#13459)
WTW0313 Feb 10, 2025
7d95863
Fix/add trial expire tip time (#13464)
douxc Feb 10, 2025
5ffc58d
feat: improve think content display (#13431)
hjlarry Feb 10, 2025
f48fa3e
chore: translate i18n files (#13452)
github-actions[bot] Feb 10, 2025
0957119
fix: update UTC time format for consistency (#13471)
zhangx1n Feb 10, 2025
abec231
feat: add support for X-Forwarded-Port in ProxyFix middleware (#13102)
osaimi Feb 10, 2025
f0a845f
fix: removed LLM output from the main README (#13504)
Riddhimaan-Senapati Feb 11, 2025
47a6461
Fix the issue of repeated escaping of quotes in hit test (#13477)
liuzhenghua Feb 11, 2025
1f38d48
fix: issue #13483 and #13434 (#13518)
yihong0618 Feb 11, 2025
c00e7d3
fix: retry log running error (#13472)
Nov1c444 Feb 11, 2025
f96b4f2
fix: iteration node log time error (#13511)
Nov1c444 Feb 11, 2025
423fb2d
Ensure the 'inputs' field in /chat-messages takes effect every time (…
Wu-Jiayang Feb 11, 2025
bde756a
chore:Remove useless brackets and format code (#13479)
jiangbo721 Feb 11, 2025
786550b
fix: changed topics/keywords to topic/keywords (#13544)
Riddhimaan-Senapati Feb 12, 2025
0751ad1
feat(vdb): add HNSW vector index for TiDB vector store with TiFlash (…
bowenliang123 Feb 12, 2025
6529240
fix: no longer using old app detail cover when switch pathname (#13585)
kimjion Feb 12, 2025
2b86465
fix document extractor node incorrectly processing doc and ppt files …
AugNSo Feb 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 2 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM mcr.microsoft.com/devcontainers/python:3.10
FROM mcr.microsoft.com/devcontainers/python:3.12

# [Optional] Uncomment this section to install additional OS packages.
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# && apt-get -y install --no-install-recommends <your-package-list-here>
# && apt-get -y install --no-install-recommends <your-package-list-here>
4 changes: 2 additions & 2 deletions .devcontainer/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Devlopment with devcontainer
# Development with devcontainer
This project includes a devcontainer configuration that allows you to open the project in a container with a fully configured development environment.
Both frontend and backend environments are initialized when the container is started.
## GitHub Codespaces
Expand Down Expand Up @@ -33,5 +33,5 @@ Performance Impact: While usually minimal, programs running inside a devcontaine
if you see such error message when you open this project in codespaces:
![Alt text](troubleshooting.png)

a simple workaround is change `/signin` endpoint into another one, then login with github account and close the tab, then change it back to `/signin` endpoint. Then all things will be fine.
a simple workaround is change `/signin` endpoint into another one, then login with GitHub account and close the tab, then change it back to `/signin` endpoint. Then all things will be fine.
The reason is `signin` endpoint is not allowed in codespaces, details can be found [here](https://github.com/orgs/community/discussions/5204)
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/anaconda
{
"name": "Python 3.10",
"name": "Python 3.12",
"build": {
"context": "..",
"dockerfile": "Dockerfile"
Expand Down
8 changes: 5 additions & 3 deletions .devcontainer/post_create_command.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#!/bin/bash

cd web && npm install
pipx install poetry

echo 'alias start-api="cd /workspaces/dify/api && flask run --host 0.0.0.0 --port=5001 --debug"' >> ~/.bashrc
echo 'alias start-worker="cd /workspaces/dify/api && celery -A app.celery worker -P gevent -c 1 --loglevel INFO -Q dataset,generation,mail"' >> ~/.bashrc
echo 'alias start-api="cd /workspaces/dify/api && poetry run python -m flask run --host 0.0.0.0 --port=5001 --debug"' >> ~/.bashrc
echo 'alias start-worker="cd /workspaces/dify/api && poetry run python -m celery -A app.celery worker -P gevent -c 1 --loglevel INFO -Q dataset,generation,mail,ops_trace,app_deletion"' >> ~/.bashrc
echo 'alias start-web="cd /workspaces/dify/web && npm run dev"' >> ~/.bashrc
echo 'alias start-containers="cd /workspaces/dify/docker && docker-compose -f docker-compose.middleware.yaml -p dify up -d"' >> ~/.bashrc
echo 'alias stop-containers="cd /workspaces/dify/docker && docker-compose -f docker-compose.middleware.yaml -p dify down"' >> ~/.bashrc

source /home/vscode/.bashrc
source /home/vscode/.bashrc
2 changes: 1 addition & 1 deletion .devcontainer/post_start_command.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

cd api && pip install -r requirements.txt
cd api && poetry install
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Ensure that .sh scripts use LF as line separator, even if they are checked out
# to Windows(NTFS) file-system, by a user of Docker for Window.
# These .sh scripts will be run from the Container after `docker compose up -d`.
# If they appear to be CRLF style, Dash from the Container will fail to execute
# them.

*.sh text eol=lf
24 changes: 24 additions & 0 deletions .github/DISCUSSION_TEMPLATE/general.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
title: "General Discussion"
body:
- type: checkboxes
attributes:
label: Self Checks
description: "To make sure we get to you in time, please check the following :)"
options:
- label: I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones.
required: true
- label: I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)).
required: true
- label: "[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)"
required: true
- label: "Please do not modify this template :) and fill in all the required fields."
required: true
- type: textarea
attributes:
label: Content
placeholder: Please describe the content you would like to discuss.
validations:
required: true
- type: markdown
attributes:
value: Please limit one request per issue.
30 changes: 30 additions & 0 deletions .github/DISCUSSION_TEMPLATE/help.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
title: "Help"
body:
- type: checkboxes
attributes:
label: Self Checks
description: "To make sure we get to you in time, please check the following :)"
options:
- label: I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones.
required: true
- label: I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)).
required: true
- label: "[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)"
required: true
- label: "Please do not modify this template :) and fill in all the required fields."
required: true
- type: textarea
attributes:
label: 1. Is this request related to a challenge you're experiencing? Tell me about your story.
placeholder: Please describe the specific scenario or problem you're facing as clearly as possible. For instance "I was trying to use [feature] for [specific task], and [what happened]... It was frustrating because...."
validations:
required: true
- type: textarea
attributes:
label: 2. Additional context or comments
placeholder: (Any other information, comments, documentations, links, or screenshots that would provide more clarity. This is the place to add anything else not covered above.)
validations:
required: false
- type: markdown
attributes:
value: Please limit one request per issue.
37 changes: 37 additions & 0 deletions .github/DISCUSSION_TEMPLATE/suggestion.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
title: Suggestions for New Features
body:
- type: checkboxes
attributes:
label: Self Checks
description: "To make sure we get to you in time, please check the following :)"
options:
- label: I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones.
required: true
- label: I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)).
required: true
- label: "[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)"
required: true
- label: "Please do not modify this template :) and fill in all the required fields."
required: true
- type: textarea
attributes:
label: 1. Is this request related to a challenge you're experiencing? Tell me about your story.
placeholder: Please describe the specific scenario or problem you're facing as clearly as possible. For instance "I was trying to use [feature] for [specific task], and [what happened]... It was frustrating because...."
validations:
required: true
- type: textarea
attributes:
label: 2. Additional context or comments
placeholder: (Any other information, comments, documentations, links, or screenshots that would provide more clarity. This is the place to add anything else not covered above.)
validations:
required: false
- type: checkboxes
attributes:
label: 3. Can you help us with this feature?
description: Let us know! This is not a commitment, but a starting point for collaboration.
options:
- label: I am interested in contributing to this feature.
required: false
- type: markdown
attributes:
value: Please limit one request per issue.
9 changes: 5 additions & 4 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,20 @@ body:
label: Self Checks
description: "To make sure we get to you in time, please check the following :)"
options:
- label: This is only for bug report, if you would like to ask a quesion, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general).
- label: This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general).
required: true
- label: I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones.
required: true
- label: I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)).
required: true
- label: "Pleas do not modify this template :) and fill in all the required fields."
- label: "[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)"
required: true
- label: "Please do not modify this template :) and fill in all the required fields."
required: true

- type: input
attributes:
label: Dify version
placeholder: 0.3.21
description: See about section in Dify console
validations:
required: true
Expand All @@ -40,7 +41,7 @@ body:
- type: textarea
attributes:
label: Steps to reproduce
description: We highly suggest including screenshots and a bug report log.
description: We highly suggest including screenshots and a bug report log. Please use the right markdown syntax for code blocks.
placeholder: Having detailed steps helps us reproduce the bug.
validations:
required: true
Expand Down
6 changes: 4 additions & 2 deletions .github/ISSUE_TEMPLATE/document_issue.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: "📚 Documentation Issue"
description: Report issues in our documentation
labels:
- ducumentation
- documentation
body:
- type: checkboxes
attributes:
Expand All @@ -12,7 +12,9 @@ body:
required: true
- label: I confirm that I am using English to submit report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)).
required: true
- label: "Pleas do not modify this template :) and fill in all the required fields."
- label: "[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)"
required: true
- label: "Please do not modify this template :) and fill in all the required fields."
required: true
- type: textarea
attributes:
Expand Down
22 changes: 6 additions & 16 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,35 +12,25 @@ body:
required: true
- label: I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)).
required: true
- label: "Pleas do not modify this template :) and fill in all the required fields."
- label: "[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)"
required: true
- label: "Please do not modify this template :) and fill in all the required fields."
required: true
- type: textarea
attributes:
label: 1. Is this request related to a challenge you're experiencing?
label: 1. Is this request related to a challenge you're experiencing? Tell me about your story.
placeholder: Please describe the specific scenario or problem you're facing as clearly as possible. For instance "I was trying to use [feature] for [specific task], and [what happened]... It was frustrating because...."
validations:
required: true
- type: textarea
attributes:
label: 2. Describe the feature you'd like to see
placeholder: Think about what you want to achieve and how this feature will help you. Sketches, flow diagrams, or any visual representation will be a major plus.
validations:
required: true
- type: textarea
attributes:
label: 3. How will this feature improve your workflow or experience?
placeholder: Tell us how this change will benefit your work. This helps us prioritize based on user impact.
validations:
required: true
- type: textarea
attributes:
label: 4. Additional context or comments
label: 2. Additional context or comments
placeholder: (Any other information, comments, documentations, links, or screenshots that would provide more clarity. This is the place to add anything else not covered above.)
validations:
required: false
- type: checkboxes
attributes:
label: 5. Can you help us with this feature?
label: 3. Can you help us with this feature?
description: Let us know! This is not a commitment, but a starting point for collaboration.
options:
- label: I am interested in contributing to this feature.
Expand Down
5 changes: 3 additions & 2 deletions .github/ISSUE_TEMPLATE/translation_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ body:
required: true
- label: I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)).
required: true
- label: "Pleas do not modify this template :) and fill in all the required fields."
- label: "[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)"
required: true
- label: "Please do not modify this template :) and fill in all the required fields."
required: true
- type: input
attributes:
label: Dify version
placeholder: 0.3.21
description: Hover over system tray icon or look at Settings
validations:
required: true
Expand Down
36 changes: 36 additions & 0 deletions .github/actions/setup-poetry/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Setup Poetry and Python

inputs:
python-version:
description: Python version to use and the Poetry installed with
required: true
default: '3.11'
poetry-version:
description: Poetry version to set up
required: true
default: '2.0.1'
poetry-lockfile:
description: Path to the Poetry lockfile to restore cache from
required: true
default: ''

runs:
using: composite
steps:
- name: Set up Python ${{ inputs.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
cache: pip

- name: Install Poetry
shell: bash
run: pip install poetry==${{ inputs.poetry-version }}

- name: Restore Poetry cache
if: ${{ inputs.poetry-lockfile != '' }}
uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
cache: poetry
cache-dependency-path: ${{ inputs.poetry-lockfile }}
37 changes: 15 additions & 22 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,25 @@
# Description
# Summary

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)
> [!Tip]
> Close issue syntax: `Fixes #<issue number>` or `Resolves #<issue number>`, see [documentation](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword) for more details.

## Type of Change

Please delete options that are not relevant.
# Screenshots

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update, included: [Dify Document](https://github.com/langgenius/dify-docs)
- [ ] Improvement, including but not limited to code refactoring, performance optimization, and UI/UX improvement
- [ ] Dependency upgrade

# How Has This Been Tested?
| Before | After |
|--------|-------|
| ... | ... |

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
# Checklist

- [ ] TODO
> [!IMPORTANT]
> Please review the checklist below before submitting your pull request.

# Suggested Checklist:
- [ ] This change requires a documentation update, included: [Dify Document](https://github.com/langgenius/dify-docs)
- [x] I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
- [x] I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
- [x] I've updated the documentation accordingly.
- [x] I ran `dev/reformat`(backend) and `cd web && npx lint-staged`(frontend) to appease the lint gods

- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] My changes generate no new warnings
- [ ] I ran `dev/reformat`(backend) and `cd web && npx lint-staged`(frontend) to appease the lint gods
- [ ] `optional` I have made corresponding changes to the documentation
- [ ] `optional` I have added tests that prove my fix is effective or that my feature works
- [ ] `optional` New and existing unit tests pass locally with my changes
Loading