diff --git a/docs/css/custom.css b/docs/css/custom.css index d098bfe7a4..c132825675 100644 --- a/docs/css/custom.css +++ b/docs/css/custom.css @@ -480,4 +480,79 @@ body { .DocSearch-Search-Icon { color: var(--ifm-color-emphasis-500) !important; size: 16px !important; +} + +/* Table Styling */ +.markdown table { + width: 100%; + border-collapse: collapse; + border-radius: var(--ifm-global-radius); + border: var(--ifm-table-border-width) solid var(--ifm-table-border-color); + font-size: 1rem; + margin: 1.5rem 0; + overflow: scroll; + scrollbar-width: none; + table-layout: fixed; +} + +/* Table header */ +.markdown table thead th { + background-color: var(--ifm-color-emphasis-100); + padding: .5rem; + text-align: left; + font-weight: 600; + border-bottom: var(--ifm-table-border-width) solid var(--ifm-table-border-color); + border-top: none; + border-left: none; +} + +.markdown table thead tr { + border: none; +} + +.markdown table thead th:last-child { + border: none; +} + +/* Table body */ +.markdown table td { + padding: .6rem; + vertical-align: top; + border-right: var(--ifm-table-border-width) solid var(--ifm-table-border-color); + border-left: none; + word-wrap: break-word; + overflow-wrap: break-word; +} + +.markdown table td:last-child { + border: none; +} + +/* Fixed column widths for consistent sizing */ +.markdown table th, +.markdown table td { + width: 20%; +} + +.markdown table th:last-child, +.markdown table td:last-child { + width: auto; /* Final column */ +} + +/* Consistent row heights */ +.markdown table tbody tr { + height: auto; + min-height: 2.2rem; +} + +.markdown table tbody tr:last-child td { + border-bottom: none; +} + +/* Code elements in tables */ +.markdown table code { + background-color: var(--ifm-color-emphasis-100); + border-radius: 4px; + padding: 0.1rem 0.3rem; + font-family: var(--ifm-font-family-monospace); } \ No newline at end of file diff --git a/docs/docs/Concepts/concepts-file-management.mdx b/docs/docs/Concepts/concepts-file-management.mdx index ca304408f8..28cf632524 100644 --- a/docs/docs/Concepts/concepts-file-management.mdx +++ b/docs/docs/Concepts/concepts-file-management.mdx @@ -59,7 +59,7 @@ To enable file input in your flow, do the following: 2. Click **Share**, select **API access**, and then click **Input Schema** to add [`tweaks`](/concepts-publish#input-schema) to the request payload in the flow's automatically generated code snippets. 3. Expand the **File** section, find the **Files** row, and then enable **Expose Input** to allow the parameter to be set at runtime through the Langflow API. 4. Close the **Input Schema** pane to return to the **API access** pane. -The payload in each code snippet now includes `tweaks`, your **File** component's ID, and the `path` key that you enabled in **Input Schema**: +The payload in each code snippet now includes `tweaks` with your **File** component's ID and the `path` key that you enabled in **Input Schema**: ```json "tweaks": { @@ -123,6 +123,15 @@ For videos, see the **Twelve Labs** and **YouTube** [bundles](/components-bundle By default, the maximum file size is 100 MB. To modify this value, change the `--max-file-size-upload` [environment variable](/environment-variables). +## File management configuration + +You can configure file management behavior using the following [environment variables](/environment-variables): + +| Variable | Format | Default | Description | +|----------|--------|---------|-------------| +| `LANGFLOW_MAX_FILE_SIZE_UPLOAD` | Integer | `100` | Set the maximum file size for the upload in megabytes. | +| `LANGFLOW_STORAGE_TYPE` | String | `local` | Type of storage to use for file uploads and data. | + ## See also * [**Data** components](/components-data) diff --git a/docs/docs/Concepts/mcp-server.mdx b/docs/docs/Concepts/mcp-server.mdx index b591069b90..b462adc709 100644 --- a/docs/docs/Concepts/mcp-server.mdx +++ b/docs/docs/Concepts/mcp-server.mdx @@ -325,5 +325,6 @@ If Claude for Desktop isn't using your server's tools correctly, you may need to ## See also -- [Use Langflow as an MCP client](/mcp-client) -- [Use a DataStax Astra DB MCP server](/mcp-component-astra) \ No newline at end of file +* [Use Langflow as an MCP client](/mcp-client) +* [Use a DataStax Astra DB MCP server](/mcp-component-astra) +* [MCP server environment variables](/environment-variables#mcp) \ No newline at end of file diff --git a/docs/docs/Configuration/configuration-global-variables.mdx b/docs/docs/Configuration/configuration-global-variables.mdx index 2b8977a8f5..30d6c5b7d1 100644 --- a/docs/docs/Configuration/configuration-global-variables.mdx +++ b/docs/docs/Configuration/configuration-global-variables.mdx @@ -6,12 +6,15 @@ slug: /configuration-global-variables import Icon from "@site/src/components/icon"; import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; +import EnvGlobalVars from '@site/docs/_partial-env-global-vars.mdx'; Global variables let you store and reuse generic input values and credentials across your [Langflow projects](/concepts-flows#projects). You can use a global variable in any text input field that displays the