+ Define aliases/providers here. Active alias is selected above.
+
+
+
+
+ onUpdateToolConfig(index, {
+ // biome-ignore lint/style/useNamingConvention: api schema
+ tool_alias: event.target.value,
+ })
+ }
+ />
+
+
+
+
+
+ onUpdateToolConfig(index, {
+ providers: addUnique(toolConfig.providers, value),
+ })
+ }
+ onRemove={(providerIndex) =>
+ onUpdateToolConfig(index, {
+ providers: toolConfig.providers.filter(
+ (_, currentIndex) => currentIndex !== providerIndex,
+ ),
+ })
+ }
+ placeholder="Type provider name and press Enter"
+ />
+
+
+
+
+
+ onUpdateToolConfig(index, {
+ // biome-ignore lint/style/useNamingConvention: api schema
+ allow_tools: addUnique(toolConfig.allow_tools ?? [], value),
+ })
+ }
+ onRemove={(toolIndex) =>
+ onUpdateToolConfig(index, {
+ // biome-ignore lint/style/useNamingConvention: api schema
+ allow_tools: (toolConfig.allow_tools ?? []).filter(
+ (_, currentIndex) => currentIndex !== toolIndex,
+ ),
+ })
+ }
+ placeholder="Type tool name and press Enter"
+ />
+
+
+
+
+
+
+
+