We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d8084a commit f5cead5Copy full SHA for f5cead5
app/src/components/generative/ToolChoiceSelector.tsx
@@ -1,5 +1,3 @@
1
-import type { JSX } from "react";
2
-
3
import {
4
Button,
5
Flex,
@@ -158,11 +156,7 @@ const removeToolNamePrefix = (toolName: string) =>
158
156
*
159
157
* @returns A label for the tool choice
160
*/
161
-export const ChoiceLabel = ({
162
- choiceType,
163
-}: {
164
- choiceType: string;
165
-}): JSX.Element => {
+export const ChoiceLabel = ({ choiceType }: { choiceType: string }) => {
166
switch (choiceType) {
167
case "any":
168
case "required":
0 commit comments