11/**
22 * Controlled field group for global agent config (provider, model, effort, env vars).
33 *
4- * Used by GlobalAgentConfigSettingsCard (settings panel) and AgentDefaultsSection
4+ * Used by AgentDefaultsSettingsCard (settings panel) and AgentDefaultsSection
55 * (onboarding setup step). The parent manages load/save state; this component is
66 * purely presentational and calls onConfigChange on every user edit.
77 */
@@ -28,11 +28,11 @@ import {
2828 getProviderApiKeyEnvVar ,
2929 requiredCredentialEnvKeys ,
3030 runtimeSupportsLlmProviderSelection ,
31- } from "@/features/agents/ui/personaDialogPickers " ;
31+ } from "@/features/agents/ui/agentConfigOptions " ;
3232import {
3333 AgentDropdownSelect ,
3434 AgentModelField ,
35- } from "@/features/agents/ui/personaProviderModelFields " ;
35+ } from "@/features/agents/ui/agentConfigControls " ;
3636import { PersonaProviderApiKeyField } from "@/features/agents/ui/PersonaProviderApiKeyField" ;
3737import { usePersonaModelDiscovery } from "@/features/agents/ui/usePersonaModelDiscovery" ;
3838import {
@@ -61,7 +61,7 @@ const BAKED_STRUCTURED_KEYS = new Set([
6161 BUZZ_AGENT_THINKING_EFFORT ,
6262] ) ;
6363
64- export type GlobalAgentConfigFieldsProps = {
64+ export type AgentConfigFieldsProps = {
6565 bakedEnv : BakedEnvEntry [ ] ;
6666 selectedRuntime : AcpRuntimeCatalogEntry | undefined ;
6767 config : GlobalAgentConfig ;
@@ -96,7 +96,7 @@ export type GlobalAgentConfigFieldsProps = {
9696 useChevronSelectIcon ?: boolean ;
9797} ;
9898
99- export function GlobalAgentConfigFields ( {
99+ export function AgentConfigFields ( {
100100 bakedEnv,
101101 selectedRuntime,
102102 config,
@@ -129,7 +129,7 @@ export function GlobalAgentConfigFields({
129129 unstyled = false ,
130130 useCustomSelect = false ,
131131 useChevronSelectIcon = false ,
132- } : GlobalAgentConfigFieldsProps ) {
132+ } : AgentConfigFieldsProps ) {
133133 const bakedProvider = React . useMemo (
134134 ( ) => bakedEnv . find ( ( e ) => e . key === "BUZZ_AGENT_PROVIDER" ) ?. value ?? null ,
135135 [ bakedEnv ] ,
0 commit comments