fix: removed beta from current date (#4901)
* Removed beta from current date * [autofix.ci] apply automated fixes * refactor: improve error message handling in CloudflareWorkersAIEmbeddings * Fix filter sidebar test --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
parent
8b04954a0e
commit
79e3d3f50d
3 changed files with 8 additions and 4 deletions
|
|
@ -75,6 +75,7 @@ class CloudflareWorkersAIEmbeddingsComponent(LCModelComponent):
|
|||
strip_new_lines=self.strip_new_lines,
|
||||
)
|
||||
except Exception as e:
|
||||
raise ValueError(f"Could not connect to CloudflareWorkersAIEmbeddings API: {e!s}") from e
|
||||
msg = f"Could not connect to CloudflareWorkersAIEmbeddings API: {e!s}"
|
||||
raise ValueError(msg) from e
|
||||
|
||||
return embeddings
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ class CurrentDateComponent(Component):
|
|||
display_name = "Current Date"
|
||||
description = "Returns the current date and time in the selected timezone."
|
||||
icon = "clock"
|
||||
beta = True
|
||||
name = "CurrentDate"
|
||||
|
||||
inputs = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue