Compare commits

...

4 Commits

6 changed files with 13 additions and 17 deletions

View File

@ -34,9 +34,7 @@ jobs:
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }}
type=ref,event=branch
type=sha,enable=true,priority=100,prefix=,suffix=,format=long
type=semver,pattern={{major}}.{{minor}}.{{patch}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=raw,value=${{ github.ref_name }},enable=${{ startsWith(github.ref, 'refs/tags/') }}
- name: Build and push
uses: docker/build-push-action@v4

View File

@ -34,9 +34,7 @@ jobs:
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }}
type=ref,event=branch
type=sha,enable=true,priority=100,prefix=,suffix=,format=long
type=semver,pattern={{major}}.{{minor}}.{{patch}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=raw,value=${{ github.ref_name }},enable=${{ startsWith(github.ref, 'refs/tags/') }}
- name: Build and push
uses: docker/build-push-action@v4

View File

@ -2,7 +2,7 @@ version: '3.1'
services:
# API service
api:
image: langgenius/dify-api:0.3.31
image: langgenius/dify-api:0.3.31-fix1
restart: always
environment:
# Startup mode, 'api' starts the API server.
@ -128,7 +128,7 @@ services:
# worker service
# The Celery worker for processing the queue.
worker:
image: langgenius/dify-api:0.3.31
image: langgenius/dify-api:0.3.31-fix1
restart: always
environment:
# Startup mode, 'worker' starts the Celery worker for processing the queue.
@ -196,7 +196,7 @@ services:
# Frontend web application.
web:
image: langgenius/dify-web:0.3.31
image: langgenius/dify-web:0.3.31-fix1
restart: always
environment:
EDITION: SELF_HOSTED
@ -280,7 +280,7 @@ services:
# (if uncommented, you need to comment out the weaviate service above,
# and set VECTOR_STORE to qdrant in the api & worker service.)
# qdrant:
# image: qdrant/qdrant:latest
# image: langgenius/qdrant:latest
# restart: always
# volumes:
# - ./volumes/qdrant:/qdrant/storage
@ -302,4 +302,4 @@ services:
- api
- web
ports:
- "80:80"
- "80:80"

View File

@ -1,7 +1,6 @@
'use client'
import type { FC } from 'react'
import React, { useRef, useState } from 'react'
import { useClickAway } from 'ahooks'
import { useTranslation } from 'react-i18next'
import Toast from '../../base/toast'
import { XClose } from '@/app/components/base/icons/src/vender/line/general'
@ -31,10 +30,10 @@ const ModifyRetrievalModal: FC<Props> = ({
const { t } = useTranslation()
const [retrievalConfig, setRetrievalConfig] = useState(value)
useClickAway(() => {
if (ref)
onHide()
}, ref)
// useClickAway(() => {
// if (ref)
// onHide()
// }, ref)
const {
rerankDefaultModel,

View File

@ -688,6 +688,7 @@ const Main: FC<IMainProps> = () => {
onUnpin={handleUnpin}
controlUpdateList={controlUpdateConversationList}
onDelete={handleDelete}
onStartChat={() => handleConversationIdChange('-1')}
/>
)
}

View File

@ -668,7 +668,7 @@ const Main: FC<IMainProps> = ({
onUnpin={handleUnpin}
controlUpdateList={controlUpdateConversationList}
onDelete={handleDelete}
onStartChat={handleStartChat}
onStartChat={() => handleConversationIdChange('-1')}
/>
)
}