Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
chore: optimize nvidia nim credential schema and info (#4898)
takatost696c5308a97d
diff --git a/api/core/model_runtime/model_providers/nvidia_nim/llm/llm.py b/api/core/model_runtime/model_providers/nvidia_nim/llm/llm.pyindex 87d2add3677..f7b849fbe23 100644--- a/api/core/model_runtime/model_providers/nvidia_nim/llm/llm.py+++ b/api/core/model_runtime/model_providers/nvidia_nim/llm/llm.py@@ -4,7 +4,9 @@ from core.model_runtime.model_providers.openai_api_compatible.llm.llm import OAIlogger = logging.getLogger(__name__)+class NVIDIANIMProvider(OAIAPICompatLargeLanguageModel):"""Model class for NVIDIA NIM large language model."""+ passdiff --git a/api/core/model_runtime/model_providers/nvidia_nim/nvidia_nim.py b/api/core/model_runtime/model_providers/nvidia_nim/nvidia_nim.pyindex b15b0e15728..25ab3e8e20f 100644--- a/api/core/model_runtime/model_providers/nvidia_nim/nvidia_nim.py+++ b/api/core/model_runtime/model_providers/nvidia_nim/nvidia_nim.py@@ -4,6 +4,7 @@ from core.model_runtime.model_providers.__base.model_provider import ModelProvidlogger = logging.getLogger(__name__)+class NVIDIANIMProvider(ModelProvider):def validate_provider_credentials(self, credentials: dict) -> None:diff --git a/api/core/model_runtime/model_providers/nvidia_nim/nvidia_nim.yaml b/api/core/model_runtime/model_providers/nvidia_nim/nvidia_nim.yamlindex 1d85a5ee8f5..0e892665d7e 100644--- a/api/core/model_runtime/model_providers/nvidia_nim/nvidia_nim.yaml+++ b/api/core/model_runtime/model_providers/nvidia_nim/nvidia_nim.yaml@@ -2,13 +2,19 @@ provider: nvidia_nimlabel:en_US: NVIDIA NIMdescription:- en_US: NVIDIA NIM- zh_Hans: NVIDIA NIM+ en_US: NVIDIA NIM, a set of easy-to-use inference microservices.+ zh_Hans: NVIDIA NIM,一组易于使用的模型推理微服务。icon_small:en_US: icon_s_en.svgicon_large:en_US: icon_l_en.pngbackground: "#EFFDFD"+help:+ title:+ en_US: Learn more about NVIDIA NIM+ zh_Hans: 了解 NVIDIA NIM 更多信息+ url:+ en_US: https://www.nvidia.com/en-us/ai/supported_model_types:- llmconfigurate_methods:@@ -29,8 +35,8 @@ model_credential_schema:type: text-inputrequired: trueplaceholder:- zh_Hans: Base URL, e.g. https://api.openai.com/v1- en_US: Base URL, e.g. https://api.openai.com/v1+ zh_Hans: Base URL, e.g. http://192.168.1.100:8000/v1+ en_US: Base URL, e.g. http://192.168.1.100:8000/v1- variable: modeshow_on:- variable: __model_type@@ -71,31 +77,3 @@ model_credential_schema:value: llmdefault: '4096'type: text-input- - variable: vision_support- show_on:- - variable: __model_type- value: llm- label:- zh_Hans: Vision 支持- en_US: Vision Support- type: select- required: false- default: no_support- options:- - value: support- label:- en_US: Support- zh_Hans: 支持- - value: no_support- label:- en_US: Not Support- zh_Hans: 不支持- - variable: stream_mode_delimiter- label:- zh_Hans: 流模式返回结果的分隔符- en_US: Delimiter for streaming results- show_on:- - variable: __model_type- value: llm- default: '\n\n'- type: text-input