48160 frontend [teams] add AI agent creation form - #297
Open
aicarma-artyom-maslov wants to merge 16 commits into
Open
48160 frontend [teams] add AI agent creation form#297aicarma-artyom-maslov wants to merge 16 commits into
aicarma-artyom-maslov wants to merge 16 commits into
Conversation
aicarma-artyom-maslov
requested review from
EBirkenfeld,
Maria-Lordwill,
pneumatic-ilyacedrik and
pneumojoseph
July 22, 2026 09:22
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 3a81ca3. Configure here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Note
Medium Risk
UI-only with no persistence yet, but the form collects API keys in the browser and shared dropdown/modal changes affect other forms.
Overview
Adds a User / AI agent tab switcher to the Team Create User modal and introduces a dedicated Create AI agent form alongside the existing user flow.
The new tab collects profile fields (name, position), model provider, endpoint URL, API key, optional system prompt, and avatar upload or initials-based “generate,” with Formik validation (including URL protocol checks). Submit calls an optional
onCreateAIAgentcallback; Users wires that to a warning that backend creation is not ready yet. Both forms stay mounted so tab switches preserve drafts; reopening resets the AI form and clears sensitive fields and stale avatar reads.Modal layout/CSS is extended for tabs and the taller AI layout. FormikDropdownList defers
setTouchedon blur so react-select option clicks still work; required dropdown asterisks move from CSS toisRequired. ModalHeader gains a configurabletitleTagfor the tab header. EN/RU strings and broad tests cover the new tab behavior.Reviewed by Cursor Bugbot for commit 57bd2b2. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Add AI agent creation form to the Create User modal
NotificationManager) indicating the backend is unavailable; no data is persisted.FormikDropdownListblur handling so validation errors appear after blur without interrupting option selection.Macroscope summarized 57bd2b2.