SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]
disabled bubbles' scrolling and text color
Tam Nguyen48a5354f53a7
diff --git a/sweagent/frontend/src/components/EnvMessage.js b/sweagent/frontend/src/components/EnvMessage.jsindex cef330ad..b96ded2f 100644--- a/sweagent/frontend/src/components/EnvMessage.js+++ b/sweagent/frontend/src/components/EnvMessage.js@@ -21,7 +21,6 @@ const EnvMessage = ({ item, handleMouseEnter, isHighlighted, feedRef}) => {const messageTypeClass = "envMessage" + capitalizeFirstLetter(item.type);const textStyle={- backgroundColor: '#f5f2f0',boxShadow: "none",margin: "0",overflowY: "hidden",@@ -56,17 +55,17 @@ const EnvMessage = ({ item, handleMouseEnter, isHighlighted, feedRef}) => {className={`message ${item.format} ${stepClass} ${highlightClass} ${messageTypeClass}`}onMouseEnter={() => handleMouseEnter(item, feedRef)}>- <SyntaxHighlighterBash+ <pcodeTagProps={codeTagProps}- customStyle={customStyleMerged}+ customStyle={{customStyleMerged, overflow: 'hidden'}}language={language}- lineProps={{ style: {wordBreak: 'break-word', whiteSpace: 'pre-wrap'} }}+ lineProps={{ style: {wordBreak: 'break-word', whiteSpace: 'normal'} }}style={prism}wrapLines={true}showLineNumbers={false}>{item.message}- </SyntaxHighlighterBash>+ </p></div>);} else {