fix: add fallback for current agent in TUI to prevent crashes#9877
fix: add fallback for current agent in TUI to prevent crashes#9877Danztee wants to merge 1 commit intoanomalyco:devfrom
Conversation
|
The following comment was made by an LLM, it may be inaccurate: Potential Duplicate/Related PRs FoundSeveral related PRs exist that address similar agent fallback/crash prevention issues in the TUI:
These PRs appear to be addressing the same underlying issue of preventing TUI crashes when agents are undefined/null/missing. You may want to check if PR #9877 duplicates or overlaps with any of these, particularly #7748, #7796, or #9096. |
|
@rekram1-node @adamdotdevin can you check this PR out? |
00637c0 to
71e0ba2
Compare
f1ae801 to
08fa7f7
Compare
Fixes #9783
What does this PR do?
Adds a fallback to a default agent object if the agent list is empty or the selected agent is missing, preventing TUI startup crashes.
How did you verify your code works?
Manually verified the TUI starts and renders the default fallback agent instead of crashing when the agent config is cleared/empty.