mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
fix(frontend/library): Quick Patch for Rendering Agent Outputs (#9922)
<!-- Clearly explain the need for these changes: --> The goal of this change is a quick and temporary tweak to improve the displaying of output text in the Agent Runs screen. This change is made anticipating that these outputs will be properly improved in the near future, and is thus just a temporary change in order to display text in a human readable format. ### Changes 🏗️ There is one change in this PR: - The class of the Agent Output textbox is changed to properly display text without impacting the design. Below is a before and after of this change: **Before**  **After**  ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [ ] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [ ] ... --------- Co-authored-by: Bentlybro <Github@bentlybro.com>
This commit is contained in:
committed by
GitHub
parent
433b76b539
commit
74e6a6a43a
@@ -239,7 +239,10 @@ export default function AgentRunDetailsView({
|
||||
{title || key}
|
||||
</label>
|
||||
{values.map((value, i) => (
|
||||
<p className="text-sm text-neutral-700" key={i}>
|
||||
<p
|
||||
className="resize-none whitespace-pre-wrap break-words border-none text-sm text-neutral-700 disabled:cursor-not-allowed"
|
||||
key={i}
|
||||
>
|
||||
{value}
|
||||
</p>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user