SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.
JavaScript a2aagentic-aiai-agentsdevtoolsmcp-clientn8n-alternativeno-codeopen-sourceorchestrationsmythosvisual-builder
Update ChatHeader component: Adjust layout by adding full width to key div elements and refine tooltip content for model selection.
Salman-Ahamed56377f5a85c4
diff --git a/packages/app/src/react/features/ai-chat/components/header.tsx b/packages/app/src/react/features/ai-chat/components/header.tsxindex ab50bfe2..47a56d7a 100644--- a/packages/app/src/react/features/ai-chat/components/header.tsx+++ b/packages/app/src/react/features/ai-chat/components/header.tsx@@ -220,7 +220,7 @@ export const ChatHeader: FC<ChatHeaderProps> = (props) => {)}</figure>- <div className="flex items-start justify-center flex-col">+ <div className="flex items-start justify-center flex-col w-full">{isLoading.agent ? (<SkeletonclassName={cn(@@ -235,18 +235,16 @@ export const ChatHeader: FC<ChatHeaderProps> = (props) => {)}{/* Model selection */}- <div className="flex items-center group">+ <div className="flex items-center group w-full">{isLoading.settings || isModelsLoading ? (<SkeletonclassName={cn('w-25 h-4 rounded ', isLoading.settings && 'rounded-t-none')}/>) : (- <div ref={dropdownRef} className="relative leading-none">+ <div ref={dropdownRef} className="relative leading-none w-full">{/* Selected value display - clickable trigger */}<Tooltip- content={- isModelAgent ? 'Model selection is disabled for model agents' : 'Select model'- }+ content={isModelAgent ? 'Default agents have a fixed model' : 'Select model'}placement="bottom"><button