本頁面由機器翻譯。閱讀英文原文。

Component

core/ai-agent/dify-web

The Dify front end — the server-rendered web application behind the console and the published application pages. It renders the workflow editor, the dataset and application management screens, and the chat and completion surfaces an end user reaches, and it calls the API server for every piece of data it shows: the API server's in-cluster address arrives on the `api` uses-socket and becomes the base URL the server-side rendering path uses. Holds no state of its own and owns no datastore, so it renders as a stateless server. Exports its host, port and protocol to consumers via the uses topology, so an ingress tier can route the browser path to it. The console page, in the user's browser, loads an icon from assets.dify.ai and a star count from ungh.cc, and no setting turns either off.

版本

1.0.01.1.0

出處

官方由本目錄認可為官方發布者的簽署身分所簽署。
內容摘要
sha256:5b0fcc7e41f9211b970cad114a99d723ac9540540cec5bfb1d938ff9d3cb5758
發布時間
2026-11-15T08:08:49Z
簽署身分
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

簽章

  • 官方application/vnd.dev.sigstore.bundle.v0.3+json

    https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

    sha256:311d89f077ca30cda6f3edc98aff95d0baf0a820d4279af99b3d7cd2d3732d35

此版本的參照

oci://hub.aggrega.ai/component/core/ai-agent/dify-web:1.1.0

開發者參數

開發者在 Aggregate 中設定的值。

名稱型別預設必填描述
allow_embedbooleanfalse否Whether a published application page may be framed by another site. Left at the default, the front end refuses to be framed, which is what stops another site presenting this installation's pages as its own.
text_generation_timeout_msinteger (min 1000)60000否How long, in milliseconds, the browser waits for a generation response before giving up.
top_k_maxinteger (min 1)10否Highest retrieval top-k the editor offers. It matches the API server's ceiling, since a value above it is refused when the workflow runs.
max_parallel_limitinteger (min 1)10否Highest parallel-branch count the editor offers. It matches the API server's ceiling.
max_iterationsinteger (min 1)99否Highest iteration count the editor offers on an iteration node. It matches the API server's ceiling.
max_toolsinteger (min 1)10否Highest number of tools the editor lets an agent be given. It matches the API server's ceiling.

操作員資源規格

操作員依各環境調整的基礎架構資源規格。

名稱型別預設必填描述
portinteger (min 1024, max 65535)3000否HTTP listen port the front end serves the console and application pages on.
published_portinteger (min 1024, max 65535)—否Port published on the host's loopback address, 127.0.0.1, on Docker Compose, forwarding to infra.port inside the container; any process on this machine can reach it there. Unset, nothing is published. Kubernetes realizations refuse it; reach the Service with kubectl port-forward, or attach core/public-ingress.
engine_versionstring1.17.0否Dify front-end container image tag. It tracks the API server's tag, because the front end and the console API are released together.
external_base_urlstring否Externally reachable base URL of the installation, as a browser sees it — the address the ingress tier publishes. The browser calls the console API at this address, so it is set wherever the front end is reached from outside the cluster. Left empty, the front end derives the address from the page it was served on.
computeobject—否—
overridesobject (open)—否Provider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads.

輸出契約

此元件透過 uses 拓撲向使用端發布的值。

名稱型別預設必填描述
hoststring—是In-cluster DNS name of the Service serving the console and the published application pages. The ingress tier points its upstream at this name rather than at the API server.
portinteger—是TCP port that Service serves the front end on. It follows the port an operator set in the Release, so the ingress tier reads it rather than assuming a default.
protocolstring—否URL scheme to reach `host` and `port` over, which a gateway composes its upstream address on.

Uses 插槽

此元件用來連線的相依插槽。經由插槽連接的每個連線,其目標都必須符合該插槽的標籤選擇器,且每個連線可在該插槽宣告的槽位中帶有附加項目。Aggregate 或 Release 經由該插槽連接的每個連線,都必須提供必填槽位。

api

選擇器
component.aggrega.ai/category=ai-agent
注入
env

此插槽未宣告任何附加槽位,因此經由它的連線不帶任何附加項目。

附加槽位

Feature 附加到此元件的具名繫結點。槽位的選擇器限制哪個 Feature 可以填入該槽位,其注入清單則指明該 Feature 的內容可以如何傳遞。必填槽位必須在每個實例上繫結,方式是在該實例上或其上層範圍中附加項目;敏感槽位則宣告用於處理機密內容。Feature 也可以附加在沒有任何槽位宣告的名稱之下。

未宣告任何附加槽位。

自我注入允許清單

env

關係

與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。

使用

被使用於

Component 概念參考

Aggrega 目錄:元件、功能、配方,以及負責渲染它們的外掛程式的開放索引。

以共用的 Aggrega 設計系統建置。

隱私權