Commit graph

2,753 commits

Author SHA1 Message Date
Gabriel Almeida
4998838853 format 2023-05-22 08:21:29 -03:00
Gabriel Almeida
9860b12b91 remove line-clamp as it is in tailwind by default now 2023-05-22 08:19:59 -03:00
Gabriel Almeida
e4e0049c2b Merge branch 'dev' of https://github.com/logspace-ai/langflow into dev 2023-05-22 08:02:45 -03:00
Gabriel Luiz Freitas Almeida
b277c0bf1a
node updating template, base classes and description (#326) 2023-05-22 08:02:00 -03:00
Gabriel Almeida
aeba16fa8a 🔥 chore(lcserve.py): remove unused import statements
The import statements for pathlib.Path and fastapi.staticfiles.StaticFiles were not used in the code and were therefore removed to improve code readability and maintainability.
2023-05-22 07:46:40 -03:00
anovazzi1
a6c9c28792 removed useless comment 2023-05-22 00:22:05 -03:00
anovazzi1
e85c918e6f node updating update node template, base classes and description 2023-05-19 17:18:41 -03:00
Gabriel Almeida
c93c4627d0 feat(typesContext.tsx): add retry logic to getAll API call
This commit adds retry logic to the getAll API call in the TypesProvider component. The retry logic will attempt to make the API call up to 5 times with an increasing delay between each attempt. If the API call is successful, the state of the component will be updated with the retrieved data. If the component is unmounted before the API call resolves, the state will not be updated.
2023-05-19 10:07:13 -03:00
Gabriel Almeida
0d43252478 format 2023-05-19 10:06:59 -03:00
Gabriel Almeida
e1120bba4e style(chatModal): format code with prettier
This commit formats the code in the chatModal component using prettier to
make it more readable and consistent. No functional changes were made.
2023-05-19 10:05:32 -03:00
Deepankar Mahapatro
18aaede030 chore: lint fix 2023-05-18 16:55:40 +05:30
Deepankar Mahapatro
fd638994cb
Merge branch 'logspace-ai:dev' into dev 2023-05-18 12:06:14 +05:30
Gabriel Almeida
1338fa3521 refactor(embeddings/base.py): add EmbeddingFrontendNode as a property of EmbeddingCreator
fix(loading.py): remove headers from params before instantiating embedding
refactor(nodes.py): add EmbeddingFrontendNode and hide headers field in it
2023-05-17 15:14:06 -03:00
Gabriel Almeida
f6d977f139 style(nodes, GenericNode): fix indentation and add line breaks for readability 2023-05-17 14:46:36 -03:00
Gabriel Almeida
3810589876 format 2023-05-17 12:54:10 -03:00
Gabriel Almeida
9411239a5b feat(GenericNode): add validation status icons and tooltips to node parameters and fix validation status state update 2023-05-17 12:50:42 -03:00
Gabriel Almeida
0e200d8992 fix(validate.py): return exception message in response when validation fails 2023-05-17 12:19:24 -03:00
Gabriel Almeida
6afebffe1f style(tailwind.config.js): added dark theme for attribution 2023-05-17 11:28:18 -03:00
Gabriel Luiz Freitas Almeida
4a9d1c7c54
Merge branch 'main' into hotfix 2023-05-17 11:22:17 -03:00
Gabriel Almeida
c92f3109e8 style(chatTrigger): adjust chat trigger button position by changing bottom margin from 4 to 6 2023-05-17 11:03:46 -03:00
Gabriel Almeida
c47ee2cd5e format 2023-05-17 11:03:29 -03:00
Gabriel Almeida
0da4bf3b60 Merge branch 'dev' into hotfix 2023-05-17 10:59:01 -03:00
Gabriel Almeida
a921a83d27 Merge remote-tracking branch 'origin/main' into dev 2023-05-17 10:54:51 -03:00
anovazzi1
df00fbe32e flow saving itself in local browser history 2023-05-17 10:30:36 -03:00
Deepankar Mahapatro
a2e5fab637 ci: trigger workflow during release 2023-05-17 16:36:13 +05:30
Lucas Oliveira
47c6a45315 Reverted previous commit 2023-05-17 04:50:13 -03:00
Lucas Oliveira
40e08a9a93 Modified attribution position 2023-05-17 04:49:26 -03:00
Gabriel Almeida
e1df1ad00e style(chatTrigger): adjust position of chat trigger button to be more centered on the bottom of the screen 2023-05-16 19:31:03 -03:00
Gabriel Almeida
f8b8fe5892 feat(vite.config.ts): add /version and /health to apiRoutes list. 2023-05-16 19:02:49 -03:00
Deepankar Mahapatro
fb9c76e610
Merge branch 'dev' into dev 2023-05-16 21:22:49 +05:30
Gabriel Almeida
5e7ce9dc7b feat(langflow): add /health endpoint to API
refactor(langflow): remove redundant /health endpoint from main.py
2023-05-16 11:41:40 -03:00
Gabriel Almeida
e3f27aaebf chore(custom.py): update import for langchain 0.0.170 2023-05-16 10:44:02 -03:00
Gabriel Almeida
712d212b82 feat(endpoints.py): add get_version endpoint to return version of langflow 2023-05-16 10:43:52 -03:00
Gabriel Luiz Freitas Almeida
ed549fcbbe
Add health check endpoint (#311) 2023-05-16 11:12:37 +00:00
Deepankar Mahapatro
2eec5fb3a7 build: make langchain-serve optional 2023-05-16 16:17:30 +05:30
Deepankar Mahapatro
943d3aa4a6
Merge branch 'logspace-ai:dev' into dev 2023-05-16 14:46:44 +05:30
Deepankar Mahapatro
54da71cc0a build: make langchain-serve optional 2023-05-16 13:34:34 +05:30
Filipe Caixeta
cba7f31d6f
Add health check endpoint 2023-05-15 23:01:07 -03:00
Gabriel Almeida
b0ded58d1e feat(docker-compose.yml): add VITE_PROXY_TARGET environment variable to frontend service
feat(frontend/dev.Dockerfile): change npm start command to npm run dev:docker
feat(frontend/package.json): add dev:docker script to run vite with host 0.0.0.0
feat(frontend/vite.config.ts): use environment variable to determine the target for proxying requests
2023-05-15 19:08:49 -03:00
Lucas Oliveira
46ebfe6e88 Removed attribution from reactFlow 2023-05-15 18:28:26 -03:00
Gabriel Almeida
50165ce789 style(chatMessage): fix formatting and add const keyword to convert variable in both files
feat(chatMessage): add newline option to ansi-to-html Convert constructor in both files
2023-05-15 14:58:16 -03:00
Gabriel Almeida
d3ed0cd7c9 Merge branch 'main' into dev 2023-05-15 14:46:59 -03:00
Gabriel Almeida
eb86c8be64 refactor(loading.py): swap parameters order in instantiate_prompt function to match other functions 2023-05-15 14:12:12 -03:00
Lucas Oliveira
ee6c26cf2a Fixed examples wrapping and dark mode classes, edited ReactFlow attribution 2023-05-15 11:51:13 -03:00
Deepankar Mahapatro
916e4dfa80 feat: deploy langflow using langchain-serve 2023-05-15 19:57:48 +05:30
anovazzi1
64c0cfad2a
Merge branch 'main' into HotFix 2023-05-15 10:35:32 -03:00
anovazzi1
bb4ab77926
Hotfix: Save Flow Bug in Browser (#304)
This pull request addresses a small bug related to saving flows in the
browser. The bug was causing failures and inconsistent behavior.
2023-05-15 10:32:49 -03:00
anovazzi1
3b12a76a65 removed save on browser application state to prevent bugs and fixed error on star for websockets 2023-05-15 10:25:27 -03:00
Gabriel Almeida
aac72b894a style(ApiModal): fix indentation in SyntaxHighlighter className prop
refactor(ApiModal): add json import to pythonApiCode to fix json.loads error
2023-05-15 10:10:00 -03:00
Deepankar Mahapatro
5d8f18f046 feat: deploy langflow using langchain-serve 2023-05-15 18:17:14 +05:30