forked from langgenius/dify
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit '400392230b47fff5d011b55afd8b0f8b8083ade0'
* commit '400392230b47fff5d011b55afd8b0f8b8083ade0': (74 commits) fixed: variable reference error (langgenius#9722) add vdb py test (langgenius#9706) downgrade unstructured nltk version (langgenius#9726) remove ppt import (langgenius#9721) Modify characters (langgenius#9707) chore: update version to 0.10.1 (langgenius#9689) fix: refresh current page if url contains token (langgenius#9718) Revert "Feat: use file size limit from api" (langgenius#9714) feat: support user-defined configuration of log file size and retention count (langgenius#9610) build(deps): bump next from 14.2.4 to 14.2.10 in /web (langgenius#9713) Feat: use file size limit from api (langgenius#9711) feat(model_runtime): add new model 'claude-3-5-sonnet-20241022' (langgenius#9708) build(deps): bump mermaid from 10.4.0 to 10.9.3 in /web (langgenius#9709) nltk security issue and upgrade unstructured (langgenius#9558) feat: added claude 3.5 sonnet v2 model to Google Cloud Vertex AI (langgenius#9688) fix: revert ref usage in handleFormChange to fix IME input issues (langgenius#9672) Help documentation URL correction (langgenius#9704) fix: workflow [if node] checklist (langgenius#9699) feat(api): add video and audio file size limits to upload config (langgenius#9703) fix: remove email code login redirect (langgenius#9698) ... # Conflicts: # web/yarn.lock
- Loading branch information
Showing
225 changed files
with
4,230 additions
and
3,296 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
from typing import Optional | ||
|
||
from pydantic import Field | ||
from pydantic_settings import BaseSettings | ||
|
||
|
||
class UpstashConfig(BaseSettings): | ||
""" | ||
Configuration settings for Upstash vector database | ||
""" | ||
|
||
UPSTASH_VECTOR_URL: Optional[str] = Field( | ||
description="URL of the upstash server (e.g., 'https://vector.upstash.io')", | ||
default=None, | ||
) | ||
|
||
UPSTASH_VECTOR_TOKEN: Optional[str] = Field( | ||
description="Token for authenticating with the upstash server", | ||
default=None, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.