Commit graph

6,558 commits

Author SHA1 Message Date
Eric Hare
952633f4ca
fix: Properly escape new line characters in webhook (#8054) 2025-05-15 16:21:58 +00:00
Edwin Jose
30ecf0c77c
fix: template update (#8057) 2025-05-15 10:48:59 -03:00
Edwin Jose
fa3d1855e9
fix: filter flow JSON from component JSON in MCP Servers (#8023)
filter for flows with ic_component as False
2025-05-14 19:51:55 +00:00
Sebastián Estévez
f01ba7bb0e
fix: mcp enum fix (#8046)
default unknown ref name to string
2025-05-14 18:28:44 +00:00
Mendon Kissling
248fb126ff
fix: api docs build failures caused by variables in descriptions (#8002)
* chat

* endpoints
2025-05-14 18:08:49 +00:00
Eric Hare
eeea48a1fd
fix: Hybrid search enabled as long as reranker is enabled (#8021)
* fix: Hybrid search enabled as long as reranker is enabled

* Back to original hybrid

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-14 17:42:53 +00:00
jeevi cao
97061baa6a
fix: agent support not use memory message (n_messages==0) (#7800)
* Update py_autofix.yml

* feat: handle case when n_messages is zero in MemoryComponent

* agent memory support n_message zero

* Revert "Update py_autofix.yml"

This reverts commit 7aed45e98602f57c2d6d33532080bad30cf02507.

* fix: cast stored messages to Data type in retrieve_messages method

---------

Co-authored-by: tianzhipeng <tzpabc@gmail.com>
2025-05-14 17:28:05 +00:00
Thiago Araujo
1a4adaceb8
fix: Avoid unnecessary field resets in the API Request component (#7544)
* Add a logic to skip field reset if curl is not used

* Remove the else clause to avoid setting all other fields to advanced

* Fix return type

* Add a logic to avoid setting a field to advanced when use_curl is not defined

* Refactor else logic of _update_method_fields and _update_curl_mode

* Rollback _update_method_fields changes

* Return the current build config instead of an empty dict

---------

Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-05-14 17:27:13 +00:00
Florian Schüller
9f7b4be36d
fix: remove double await in ChatOllamaComponent (#7992)
* Fix double await in ChatOllamaComponent

* ChatOllamaComponent: fix respect given URL self.base_url

* ChatOllamaComponent: implement support for "load_from_db" variables

* ChatOllamaComponent: fix RUF005 problem

* [autofix.ci] apply automated fixes

* conditionally await if variable is a coroutine

* Remove outdated comment regarding coroutine handling in ChatOllamaComponent

* ChatOllamaComponent: await coroutine result for JSON data retrieval

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-05-14 16:29:50 +00:00
Cristhian Zanforlin Lousa
183a8c28d9
fix: Enhance DB queries with async pagination and improve test reliability (#8040)
Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-14 10:19:34 -03:00
Lucas Oliveira
a72995c408
feat: add bulk file actions (#7827)
* fixed styling

* Enabled header checkbox selection

* Changed styling of selection

* Implemented bulk downloading and deleting

* Added delete bulk hook

* Added download bulk hook

* Fix backend to send extension in download single file

* Fix hook to download single file directly

* Added header and selection handling

* Added delete confirmation

* [autofix.ci] apply automated fixes

* Fixed selection with shift

* Show disabled files

* Show disabled files as not clickable

* Changed color of icon when disabled

* Implemented pressed shift handling

* Fixed shift selection and disabled text selection when holding shift

* Created test for bulk selection on files modal

* add test of disabled components in file component

* Fixed files page test to include bulk editing test

* removed ring on focus visible

* Changed delete files having the right select

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-13 21:59:10 +00:00
Lucas Oliveira
596a219de3
fix: add overflow to table dropdown selection, removed Multiple selector from Structured Output (#8027)
* Fixed not being able to edit options because of overflow in Table Node Cell Editor

* Updated structured output to not have Multiple selection since it's enabled by default
2025-05-13 21:25:01 +00:00
Sebastián Estévez
9096293e52
fix: voice_mode break fix (#8014)
* 🔧 (use-get-messages-polling.ts): refactor enqueuePolling method to simplify logic and improve readability
🔧 (use-get-messages-polling.ts): refactor startNextPolling method to remove unnecessary code and improve efficiency
🔧 (use-get-messages-polling.ts): refactor removeFromQueue method to simplify and improve maintainability
🔧 (use-get-messages-polling.ts): refactor useGetMessagesPollingMutation to handle stopping polling and removing from queue
🔧 (use-get-transactions.ts): add early return to getTransactionsFn to handle empty id case
🔧 (use-get-voice-list.ts): refactor useGetVoiceList function to handle empty elevenlabsApiKey case and improve readability
🔧 (audio-settings-dialog.tsx): update useGetVoiceList call to pass elevenLabsApiKey as argument

* queues should hold payloads not strings

*  (use-get-global-variables.ts): add setGlobalVariablesEntities function to store global variables entities for use in the application
 (audio-settings-dialog.tsx): introduce debounced function to update ElevenLabs API key in global variables entities
📝 (globalVariables.ts): add setGlobalVariablesEntities function to the global variables store for managing entities
📝 (index.ts): define GlobalVariable type for global variables entities in the store

*  (frontend): add support for extracting flowId from URL query parameters to allow direct linking to specific flow logs.

---------

Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2025-05-13 20:39:55 +00:00
Edwin Jose
d2919f228d
feat: add default user agent in api request component (#7631)
* Update api_request.py

* Update api_request.py

* Update api_request.py

* [autofix.ci] apply automated fixes

* Update src/backend/base/langflow/components/data/api_request.py

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>

* Update src/backend/base/langflow/components/data/api_request.py

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>

* Update api_request.py

* [autofix.ci] apply automated fixes

* fix format

* fix format issues

* [autofix.ci] apply automated fixes

* Template Update

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-05-13 19:36:40 +00:00
Will
327c0fd791
feat: Twelve Labs Bundle (#7837)
* feat: add twelve labs components

* fix: fix uv.lock for twelve labs components
2025-05-13 18:56:29 +00:00
Deon Sanchez
63e70a54e9
fix: edit flow name settings not to be empty (#8020)
* Revert "feat: enhance flow settings with minimum length validation and default naming (#7970)"

This reverts commit 116bee825c.

* feat: enhance flow settings with minimum length validation and default naming (#7970)

* feat: enhance flow settings with minimum length validation and default naming

* fix: remove console log from getFlowToAddToCanvas function

* test: add delay before filling flow name input to ensure stability

---------

Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2025-05-13 18:38:40 +00:00
Cristhian Zanforlin Lousa
056440842a
fix: revert #7970 and add tags to tests (#8019) 2025-05-13 12:41:05 -03:00
Gabriel Luiz Freitas Almeida
482aa5a7c4
fix: Use async file operations for error log management in MCPStdioClient (#8012) 2025-05-13 09:31:30 -03:00
jeevi cao
4ce5a4228c
feat: endpoint basic examples add cache Increase interface speed (#7124)
* Update py_autofix.yml

* feat: endpoint basic_examples add cache

* Revert "Update py_autofix.yml"

This reverts commit 7aed45e98602f57c2d6d33532080bad30cf02507.

* resolve conflicts

* refactor: update response handling in read_basic_examples function

---------

Co-authored-by: tianzhipeng <tzpabc@gmail.com>
Co-authored-by: caojianwei-jk <caojianwei-jk@360shuke.com>
2025-05-13 06:35:23 +00:00
Edwin Jose
d461074107
feat: add validation for node js for npx based mcp command (#7907)
* add validation for node js for npx based packages

* [autofix.ci] apply automated fixes

* Update mcp_component.py

* Update mcp_component.py

* Update mcp_component.py

* Update util.py

* [autofix.ci] apply automated fixes

* Update util.py

* fix format errors

* merge

* fix async and format issues

* wacky idea

* bug: error on match only

* [autofix.ci] apply automated fixes

* fix error: Name "env" already defined on line 225  [no-redef]

* refactor: update MCPStdioClient to use async file handling for stderr logging

- Replaced synchronous tempfile usage with async version using aiofiles.
- Ensured proper type casting for the temporary file name.
- Updated flush operation to be asynchronous for improved performance.

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: phact <estevezsebastian@gmail.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-05-12 19:51:40 +00:00
Edwin Jose
65c3aa478e
feat: add user agents to URL Component header (#7590)
* Update url.py

* Update url.py

* format fix

* added dataframe table input for header.

* Update url.py

* [autofix.ci] apply automated fixes

* Update url.py

* Update url.py

* remove unused variables

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-12 18:55:16 +00:00
Deon Sanchez
116bee825c
feat: enhance flow settings with minimum length validation and default naming (#7970)
* feat: enhance flow settings with minimum length validation and default naming

* fix: remove console log from getFlowToAddToCanvas function
2025-05-12 16:43:37 +00:00
github-actions[bot]
12c937ab40
chore: update test durations (#7989)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2025-05-12 09:10:38 -03:00
Mendon Kissling
62104258da
templates: update gmail template to use Gmail component instead of Composio (#7925)
* update-gmail-agent-component

* click-connect

---------

Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
2025-05-09 21:39:17 +00:00
Lucas Democh
06a74bdffd
feat: Add multiline input to python REPL component (#7712)
* Update python_repl_core.py

Changed the input type to MultilineInput to allow code to be received from another component.

* [autofix.ci] apply automated fixes

* Update python_repl_core.py

* Update python_repl_core.py

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
2025-05-09 21:36:19 +00:00
jeevi cao
5026124953
fix: Runflow component output error (#6942)
Co-authored-by: caojianwei-jk <caojianwei-jk@360shuke.com>
2025-05-09 20:35:47 +00:00
Akash Joshi
1b4b53d60d
feat: New custom component to execute google BigQuery(BQ) SQLs (#7922)
* adding a google bq component and unit tests

* [autofix.ci] apply automated fixes

* resolved conflicts

* Update test_google_bq_sql_executor_component.py

* [autofix.ci] apply automated fixes

* dataframe output to component

* Update google_bq_sql_executor.py

* [autofix.ci] apply automated fixes

* replacing tests for dataframes

* [autofix.ci] apply automated fixes

* adding capability to extract SQL statement from a text blob

* resolving test errors

* [autofix.ci] apply automated fixes

* resolving conflicts

* resolve conflicts

* resolving conflicts

* issue with json input test

* [autofix.ci] apply automated fixes

* fix format issues ruff

* Update google_bq_sql_executor.py

* Update google_bq_sql_executor.py

* Updating unit tests after clean query changes

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
2025-05-09 20:35:23 +00:00
Lucas Oliveira
be1caf2b61
fix: reorder playground messages, fix scroll behavior (#7928)
* updated vite-env to stop svg loading lint errors

* added scroll direction package

* added new Chat Scroll Anchor

* removed scroll handling from chat message

* added scroll handling on chat view

* removed console.log

* Removed validator from table and added on messagebase

* removed validator from model

* changed to scroll down after error

* [autofix.ci] apply automated fixes

* fixed not scrolling to bottom

* fix constant

* refactor: update MessageTable model configuration for validation and type allowance

* refactor: update properties type in MessageTable model and adjust validation logic

* refactor: update content_blocks type in MessageTable model to allow dict or ContentBlock

* Fix playground failing when it's Run Flow

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Carlos Coelho <80289056+carlosrcoelho@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
2025-05-08 19:41:54 +00:00
Edwin Jose
5f900c9296
fix: make project id as a required field in watsonx components (#7937)
add required for project id
2025-05-08 19:12:53 +00:00
Gabriel Luiz Freitas Almeida
23664552c9
chore: Bump version to 1.4.1 for langflow and langflow-base (#7954)
chore: bump version to 1.4.1 for langflow and langflow-base

Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
2025-05-08 18:58:47 +00:00
Nicholas Freybler
66fb4d471a
fix: voice mode progress response queue (#7938)
* progress update nudge

* progress update nudge

* nick's fix

* progress toggle

* typo

* fix auth and ws thread safety

* [autofix.ci] apply automated fixes

* fix deadlock

* delete commented function

* fix duplicate events

* [autofix.ci] apply automated fixes

* merge

* clean up log_event

* queues not locks

* response ids for 11L flow

* async bug

* Fix awaits

* ElevenLabsResponse -> Response

* queues not locks

* response_q

* comment

* small fix

* new response queue mechanism

* ignore duplicate events

* event logging

* process_text_deltas refactor to be a single thread/task and use AsyncElevenLabs. No longer need a text chunker. Significantly more stable.

* return the chunking

* reliable function calling and de-duplicating

* fix shadowed var names

* fix shadowed var names

* cleanup

* fix response id in response.audio.done

* FunctionCall

* [autofix.ci] apply automated fixes

* mypy

* 3.10 exceptions

---------

Co-authored-by: phact <estevezsebastian@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-08 00:02:17 +00:00
Edwin Jose
ee706073db
fix: MCP Tool mode issue (#7944)
* refactor to ensure proper initiallisations

* [autofix.ci] apply automated fixes

* fix lint

* add comment on lint issue

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-07 21:42:28 +00:00
Edwin Jose
fbcb3ddf35
feat: Update mcp_component add advanced True for env and headers (#7909)
Update mcp_component.py
2025-05-07 20:48:45 +00:00
Sebastián Estévez
d84ae71e7d
fix: mcp anyOf support (#7941)
* improve anyOf support

* explicitly handle simple nullable types

* mypy
2025-05-07 16:46:29 +00:00
Bar Nuri
2bfb2c02c3
chore: bump langchain and langsmith dependencies (#7934)
langchain-langsmith-bump-safer
2025-05-07 14:46:26 +00:00
Gabriel Luiz Freitas Almeida
8c0813f3d8
fix: make tool mode updates possible (#7931)
* refactor: streamline node update logic in setup.py

Simplified the conditions for updating project components by consolidating checks for tool mode and output types. This enhances readability and maintainability of the code while ensuring that updates are applied correctly based on the latest component versions.

* fix: refine field removal logic in update_projects_components_with_latest_component_versions

* feat: add 'description' to NODE_FORMAT_ATTRIBUTES in constants.py

Enhanced the NODE_FORMAT_ATTRIBUTES list by including 'description' to improve metadata handling for nodes.

---------

Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
2025-05-07 12:45:07 +00:00
May Ramati Kroitero
8cabedae55
feat: Add Tavily search API parameters and Tavily Extract API component (#7644)
* Add Tavily search parameters and Extract API component

* [autofix.ci] apply automated fixes

* Fix style issues flagged by Ruff

* fix Ruff Style Check issues

* [autofix.ci] apply automated fixes

* Fix linting issue reported by Ruff

* fix inlcude and exclude domains

* Fix linting issue reported by Ruff

* fix: update descriptions and input types across multiple starter project JSON files

- Changed "Tavily AI" to "Tavily Search" in descriptions for consistency.
- Updated input types for several API keys to be empty arrays instead of containing "Message".
- Added new fields such as "chunks_per_source", "days", "exclude_domains", "include_domains", and "include_raw_content" to enhance functionality in various projects.
- Adjusted the "description" field in the "Youtube Analysis" project for clarity.

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-05-06 22:38:14 +00:00
Jordan Frazier
793e5784d5
fix: suppress migration warnings on flow table (#7920)
Surpress migration warnings on flow table
2025-05-06 22:28:13 +00:00
Pedro Pacheco
12f35a0edc
fix: improvement to ollama component to allow for dynamic filtering based on model capabilities (#7696)
* Updated model filtering to avoid hard coding of named based exclusions

* Stylistic adjustments

* Remove accidentally added package-lock.json from PR

* revert removal of package lock

* Modifications to the UT and changed component to be more async

* [autofix.ci] apply automated fixes

* Lint

---------

Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-06 17:10:32 +00:00
Sebastián Estévez
a04e5f56b8
feat: update sql component to support toolkit (#7652)
* update sql component

* cache

* Update src/backend/base/langflow/components/data/sql_executor.py

Co-authored-by: Edwin Jose <edwin.jose@datastax.com>

* Update src/backend/base/langflow/components/data/sql_executor.py

Co-authored-by: Edwin Jose <edwin.jose@datastax.com>

* [autofix.ci] apply automated fixes

* fix: sql query component (#7700)

* feat: Sql toolkit tests (#7842)

Co-authored-by: Edwin Jose <edwin.jose@datastax.com>

---------

Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gustavo Costa <gsantosaero@gmail.com>
2025-05-06 16:08:33 +00:00
Garrett George
986c4bcf24
Feature: Adds additional azure openai api versions (#7105)
* Adds additional azure openai api versions

* [autofix.ci] apply automated fixes

---------

Co-authored-by: Garrett George <ggeorge@pros.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-06 13:58:57 +00:00
Jordan Frazier
e0ae3f69c2
fix: wait on loguru to flush async logs from services (#7908)
Allow loguru to flush async logs from services
2025-05-06 00:05:03 +00:00
Jordan Frazier
2c6ea9c98f
fix: truncate transaction and vertex messages (#7893)
* add pyinstrument and fastapi wrapper

* Truncate vertex build responses

* Truncate vertex response and transactions

* [autofix.ci] apply automated fixes

* Update test for vertex response structure to reflect new truncation logic

* Refactor profiling middleware to use environment variable for configuration

* Update test for vertex response structure to correct truncation logic

* move pyinstrument to dev dependencies

* Update serialization test to include max_items parameter for list truncation

* remove profiling from this PR, fix constants

* [autofix.ci] apply automated fixes

* Add asyncio configuration options to pyproject.toml

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-05-06 00:03:13 +00:00
Gabriel Luiz Freitas Almeida
304e28b48a
feat: event polling can process more than one event at a time (#7858)
* refactor: enhance event polling to retrieve all available events and return in NDJSON format

Updated the event polling logic to collect all available events from the queue instead of just one. The response format has been changed to NDJSON, allowing multiple events to be returned in a single response. Improved error handling for timeouts by returning an empty response instead of raising an error.

* refactor: improve NDJSON event processing in build polling

Enhanced the event polling logic to handle NDJSON responses by processing multiple events in a single fetch. Updated the response handling to read the response as text, split it into individual JSON objects, and process each event accordingly. This change improves the efficiency of event handling and maintains a consistent polling interval.

* fix: change event list type from list[str] to list in get_flow_events_response

* refactor: enhance event stream consumption with timeout and error handling

Updated the consume_and_assert_stream function to include a timeout for processing events and improved error handling for JSON parsing failures. Added logging for better debugging and tracking of processed events. Adjusted the event validation logic to ensure both the first and last expected events are present.

* refactor: enhance event polling logic with improved limits and JSON validation

Updated the event polling mechanism to include configurable limits for total events and empty polls, along with a timeout for requests. Enhanced JSON validation for individual events and added logging for better debugging of polling behavior. This refactor aims to improve robustness and maintainability of the event consumption process.

* refactor: update polling interval and streamline event handling

Modified the polling interval constant to improve responsiveness and adjusted event handling logic in the get_flow_events_response function to simplify the processing of event values. This change enhances the efficiency of event consumption and maintains a consistent approach to handling NDJSON responses.

* refactor: simplify event retrieval in get_flow_events_response

Removed unused event_id and put_time variables from the event retrieval logic in the get_flow_events_response function. This change streamlines the code and enhances readability while maintaining the functionality of event handling.

* refactor: update consume_and_assert_stream to use asyncio.wait_for for timeout handling

Modified the consume_and_assert_stream function to utilize asyncio.wait_for for managing timeouts in event processing. This change improves compatibility with Python 3.10 and enhances the robustness of the event consumption logic while maintaining existing functionality.
2025-05-05 22:20:04 +00:00
Lucas Oliveira
75deddd102
fix: re-add name and description editing on tool mode except for Composio, fix MCP server code (#7901)
* Changed backend to contain readonly props for tools

* Show name editing for not readonly tools

* Fixed edit-tools test

* Updated command to use "uvx" instead of "npx" for stability

* Fixed mcp code for authentication on auto_login=false

* removed args from component desc

* [autofix.ci] apply automated fixes

* making tool mode inputs the priority.

* fix: Clean up comments and whitespace in component_tool.py

* Fix column name

* update the dispaly name in composio

* fix format

*  (get-started-progress.tsx): add data-testid attribute to improve testability and accessibility
🔧 (user-progress-track.spec.ts): update test assertions to use the new data-testid attribute for get started progress title

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2025-05-05 21:20:19 +00:00
Bar Nuri
21f9182a82
fix: flow_runner better run_id and support stream (#7892)
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-05-05 19:16:07 -03:00
Edwin Jose
c5306643bb
fix: anthropic Model component base url empty issue (#7872)
* Update anthropic.py

* updates to templates

* [autofix.ci] apply automated fixes

* update the templates

* Refactor Anthropic API URL handling to use a constant. Introduced DEFAULT_ANTHROPIC_API_URL in anthropic_constants.py and updated references in anthropic.py for improved maintainability and clarity.

* [autofix.ci] apply automated fixes

* Refactor AnthropicModelComponent to streamline API URL handling. Removed unnecessary base_url checks and ensured consistent use of DEFAULT_ANTHROPIC_API_URL for improved clarity and maintainability.

* [autofix.ci] apply automated fixes

* Fix base_url check in update_build_config to ensure key existence before accessing value

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-05-05 19:23:57 +00:00
Edwin Jose
99d9a52bd9
fix: Deprecate Google Components (#7880)
deprecate components
2025-05-05 19:02:46 +00:00
github-actions[bot]
463ce105f0
chore: update test durations (#7896)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2025-05-05 09:08:23 -03:00
Rahul Shah
164d931bbd
fix: correct typo in pretty-logs property (#7886)
Typo property pretty logs
2025-05-05 00:33:20 +00:00