Fix variable typo (#8084)

This commit is contained in:
Nam Vu
2024-09-08 12:14:11 +07:00
committed by GitHub
parent b1918dae5e
commit 2d7954c7da
215 changed files with 599 additions and 597 deletions

View File

@@ -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 = {

View File

@@ -439,7 +439,7 @@ export type RelatedAppResponse = {
total: number
}
export type SegmentUpdator = {
export type SegmentUpdater = {
content: string
answer?: string
keywords?: string[]

View File

@@ -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>[]

View File

@@ -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