Merge branch 'dev' of https://github.com/logspace-ai/langflow into github_actions
This commit is contained in:
commit
5fc4f85c10
7 changed files with 16 additions and 7 deletions
|
|
@ -6,7 +6,7 @@ WORKDIR /app
|
|||
RUN apt-get update && apt-get install git -y
|
||||
|
||||
COPY --from=backend_build /app/dist/*.whl /app/
|
||||
RUN pip install langflow-0.0.19-py3-none-any.whl
|
||||
RUN pip install langflow-0.0.21-py3-none-any.whl
|
||||
RUN rm *.whl
|
||||
|
||||
EXPOSE 80
|
||||
|
|
|
|||
|
|
@ -123,6 +123,10 @@ def get_load(data: dict[str, Any]):
|
|||
result = "Error: Type should be either agent, chain or llm"
|
||||
thought = ""
|
||||
|
||||
# Remove unnecessary data from response
|
||||
begin = thought.rfind(message)
|
||||
thought = thought[(begin + len(message)) :]
|
||||
|
||||
return {
|
||||
"result": result,
|
||||
"thought": re.sub(
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "langflow"
|
||||
version = "0.0.19"
|
||||
version = "0.0.21"
|
||||
description = "Backend for Langflow"
|
||||
authors = ["Ibis Prevedello <ibiscp@gmail.com>"]
|
||||
# packages = [
|
||||
|
|
|
|||
|
|
@ -1,6 +1,11 @@
|
|||
#! /bin/bash
|
||||
|
||||
VERSION="0.1.0"
|
||||
# Read the contents of the JSON file
|
||||
json=$(cat package.json)
|
||||
|
||||
# Extract the value of the "version" field using jq
|
||||
VERSION=$(echo "$json" | jq -r '.version')
|
||||
|
||||
docker build -t logspace/frontend_build -f build.Dockerfile .
|
||||
docker build --build-arg VERSION=$VERSION -t ibiscp/langflow_frontend:$VERSION .
|
||||
docker push ibiscp/langflow_frontend:$VERSION
|
||||
|
|
|
|||
4
langflow/frontend/package-lock.json
generated
4
langflow/frontend/package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "space_flow",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "space_flow",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"dependencies": {
|
||||
"@emotion/react": "^11.10.5",
|
||||
"@emotion/styled": "^11.10.5",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "space_flow",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@emotion/react": "^11.10.5",
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@ export default function Chat({ flow, reactFlowInstance }: ChatType) {
|
|||
}}
|
||||
type="text"
|
||||
disabled={lockChat}
|
||||
value={lockChat?"please wait for the response": chatValue}
|
||||
value={lockChat?"Thinking...": chatValue}
|
||||
onChange={(e) => {
|
||||
setChatValue(e.target.value);
|
||||
}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue