- Introduced 'as_attachment' argument to specify download mode.
- Enables flexible file display as inline or attachment.
- Enhances user control over file preview behavior.
- Set content disposition to 'inline' for image files to allow direct viewing in browsers.
- Maintain 'attachment' disposition for other file types to prompt download.
- Split returned variables in `get_file_generator_by_tool_file_id` for improved clarity.
- Revised response construction to directly use file stream and include headers for content length.
- Removed unnecessary type hint that restricted flexibility.
* main: (121 commits)
fix: remove the latest message from the user that does not have any answer yet (#9297)
Add Volcengine VikingDB as new vector provider (#9287)
chore: translate i18n files (#9288)
chore: add baidu-obs and supabase for .env.example (#9289)
chore: add abstract decorator and output log when query embedding fails (#9264)
Feat/new account page (#9236)
Feat/implement-refresh-tokens (#9233)
feat: refresh-token (#9286)
chore: translate i18n files (#9284)
feat:support baidu vector db (#9185)
Feat: rerank model verification in front end (#9271)
Fix/s3 iam add region name (#7819)
chore: optimize the trace ops slow queries on node executions. (#9282)
chore: use cache instead of re-querying node record during workflow execution (#9280)
chore: fix the misclassification of the opensearch-py package (#9266)
fix: add new domain to whitelist (#9265)
fix: move exception to debug mode (#9258)
feat: add supabase object storage (#9229)
fix: dialog box cannot correctly display LaTeX formulas (#9242)
Fix/agent external knowledge retrieval (#9241)
...
- Introduced `TokenPair` model for managing access and refresh tokens.
- Added `refresh_token` method to generate new tokens upon expiration.
- Updated login/logout processes to handle token pairs and enhanced security.
- Replaced `get_remote_ip` with `extract_remote_ip` for clarity.
- Added endpoint for refreshing tokens to maintain user session continuity.
* main: (77 commits)
feat: add voyage ai as a new model provider (#8747)
docs: add english versions for the files customizable_model_scale_out and predefined_model_scale_out (#8871)
fix: #8843 event: tts_message_end always return in api streaming resp… (#8846)
Add Jamba and Llama3.2 model support (#8878)
fix(workflow): update tagging logic in GitHub Actions (#8882)
chore: bump ruff to 0.6.8 for fixing violation in SIM910 (#8869)
refactor: update Callback to an abstract class (#8868)
feat: deprecate gte-Qwen2-7B-instruct embedding model (#8866)
feat: add internlm2.5-20b and qwen2.5-coder-7b model (#8862)
fix: customize model credentials were invalid despite the provider credentials being active (#8864)
fix: update qwen2.5-coder-7b model name (#8861)
fix(workflow/nodes/knowledge-retrieval/use-config): Preserve rerankin… (#8842)
chore: fix wrong VectorType match case (#8857)
feat: add min-connection and max-connection for pgvector (#8841)
feat(Tools): add feishu tools (#8800)
fix: delete harm catalog settings for gemini (#8829)
Add Llama3.2 models in Groq provider (#8831)
feat: deprecate mistral model for siliconflow (#8828)
fix: AnalyticdbVector retrieval scores (#8803)
fix: close log status option raise error (#8826)
...