mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-06 17:36:50 +08:00
Fix variable typo (#8084)
This commit is contained in:
@@ -4,7 +4,7 @@ import type { App, AppSSO, AppTemplate, SiteConfig } from '@/types/app'
|
||||
/* export type App = {
|
||||
id: string
|
||||
name: string
|
||||
decription: string
|
||||
description: string
|
||||
mode: AppMode
|
||||
enable_site: boolean
|
||||
enable_api: boolean
|
||||
@@ -103,15 +103,15 @@ export type AppTokenCostsResponse = {
|
||||
|
||||
export type UpdateAppModelConfigResponse = { result: string }
|
||||
|
||||
export type ApikeyItemResponse = {
|
||||
export type ApiKeyItemResponse = {
|
||||
id: string
|
||||
token: string
|
||||
last_used_at: string
|
||||
created_at: string
|
||||
}
|
||||
|
||||
export type ApikeysListResponse = {
|
||||
data: ApikeyItemResponse[]
|
||||
export type ApiKeysListResponse = {
|
||||
data: ApiKeyItemResponse[]
|
||||
}
|
||||
|
||||
export type CreateApiKeyResponse = {
|
||||
|
||||
@@ -439,7 +439,7 @@ export type RelatedAppResponse = {
|
||||
total: number
|
||||
}
|
||||
|
||||
export type SegmentUpdator = {
|
||||
export type SegmentUpdater = {
|
||||
content: string
|
||||
answer?: string
|
||||
keywords?: string[]
|
||||
|
||||
@@ -215,7 +215,7 @@ export type LogSessionListResponse = {
|
||||
query: string // user's query question
|
||||
message: string // prompt send to LLM
|
||||
answer: string
|
||||
creat_at: string
|
||||
created_at: string
|
||||
}[]
|
||||
total: number
|
||||
page: number
|
||||
@@ -224,7 +224,7 @@ export type LogSessionListResponse = {
|
||||
// log session detail and debug
|
||||
export type LogSessionDetailResponse = {
|
||||
id: string
|
||||
cnversation_id: string
|
||||
conversation_id: string
|
||||
model_provider: string
|
||||
query: string
|
||||
inputs: Record<string, string | number | object>[]
|
||||
|
||||
@@ -6,7 +6,7 @@ import type {
|
||||
} from '@/app/components/workflow/types'
|
||||
import type { Metadata } from '@/app/components/base/chat/chat/type'
|
||||
|
||||
// Log type contains key:string conversation_id:string created_at:string quesiton:string answer:string
|
||||
// Log type contains key:string conversation_id:string created_at:string question:string answer:string
|
||||
export type Conversation = {
|
||||
id: string
|
||||
key: string
|
||||
|
||||
Reference in New Issue
Block a user