Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Dec 3, 2024
1 parent 245a11c commit f3ed10d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ee/tabby-ui/app/files/components/chat-side-bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export const ChatSideBar: React.FC<ChatSideBarProps> = ({
onLoaded() {},
onCopy(_content) {},
onKeyboardEvent() {},
onNavigateSymbol(_filepath, _keywords) {},
onNavigateSymbol(_filepath, _keywords) {}
})

const getPrompt = ({ action }: QuickActionEventPayload) => {
Expand Down
9 changes: 3 additions & 6 deletions ee/tabby-ui/components/chat/chat.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
import React, { RefObject } from 'react'
import { compact, findIndex, isEqual, some, uniqWith } from 'lodash-es'
import type {
Context,
FileContext,
NavigateOpts,
SymbolInfo
} from 'tabby-chat-panel'
import type { Context, FileContext, NavigateOpts } from 'tabby-chat-panel'

import { ERROR_CODE_NOT_FOUND } from '@/lib/constants'
import {
Expand Down Expand Up @@ -37,6 +32,7 @@ import { EmptyScreen } from './empty-screen'
import { QuestionAnswerList } from './question-answer'

type ChatContextValue = {
threadId: string | undefined
isLoading: boolean
qaPairs: QuestionAnswerPair[]
handleMessageAction: (
Expand Down Expand Up @@ -529,6 +525,7 @@ function ChatRenderer(
return (
<ChatContext.Provider
value={{
threadId,
isLoading,
qaPairs,
onNavigateToContext,
Expand Down

0 comments on commit f3ed10d

Please sign in to comment.