Skip to content

Commit

Permalink
Adding image support
Browse files Browse the repository at this point in the history
  • Loading branch information
arafatkatze committed Feb 2, 2025
1 parent 9f70ba4 commit 72ac78d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,6 @@ export const HumanMessageEditor: FunctionComponent<{
)

const Editor = experimentalPromptEditorEnabled ? PromptEditorV2 : PromptEditor
const experimentalOneBoxEnabled = useFeatureFlag(FeatureFlag.CodyExperimentalOneBoxDebug)

return (
// biome-ignore lint/a11y/useKeyWithClickEvents: only relevant to click areas
Expand Down Expand Up @@ -506,7 +505,6 @@ export const HumanMessageEditor: FunctionComponent<{
intent={intent}
imageFile={imageFile}
setImageFile={setImageFile}
experimentalOneBoxEnabled={experimentalOneBoxEnabled}
/>
)}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ export const Toolbar: FunctionComponent<{
intent?: ChatMessage['intent']

manuallySelectIntent: (intent: ChatMessage['intent']) => void
experimentalOneBoxEnabled?: boolean

imageFile?: File
setImageFile: (file: File | undefined) => void
Expand All @@ -58,7 +57,6 @@ export const Toolbar: FunctionComponent<{
models,
intent,
manuallySelectIntent,
experimentalOneBoxEnabled,
imageFile,
setImageFile,
}) => {
Expand Down

0 comments on commit 72ac78d

Please sign in to comment.