Skip to content

Commit 95fa1e4

Browse files
committed
update: Improve model configuration UI text and styling
- Clarify model capabilities description and impact on Roo Code - Update max tokens description to mention server dependency - Rename 'Computer Interaction' to 'Computer Use' for clarity - Add spacing after model info configuration section
1 parent d1a65f4 commit 95fa1e4

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

webview-ui/src/components/settings/ApiOptions.tsx

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,8 @@ const ApiOptions = ({ apiErrorMessage, modelIdErrorMessage }: ApiOptionsProps) =
588588
margin: "0 0 15px 0",
589589
lineHeight: "1.4",
590590
}}>
591-
Configure the capabilities and pricing for your custom OpenAI-compatible model
591+
Configure the capabilities and pricing for your custom OpenAI-compatible model. <br />
592+
Be careful for the model capabilities, as they can affect how Roo Code can work.
592593
</p>
593594

594595
{/* Capabilities Section */}
@@ -655,8 +656,8 @@ const ApiOptions = ({ apiErrorMessage, modelIdErrorMessage }: ApiOptionsProps) =
655656
}}>
656657
<i className="codicon codicon-info" style={{ fontSize: "12px" }}></i>
657658
<span>
658-
Maximum number of tokens the model can generate in a response. Higher
659-
values allow longer outputs but may increase costs.
659+
Maximum number of tokens the model can generate in a response. <br />
660+
(-1 is depend on server)
660661
</span>
661662
</div>
662663
</div>
@@ -711,8 +712,8 @@ const ApiOptions = ({ apiErrorMessage, modelIdErrorMessage }: ApiOptionsProps) =
711712
}}>
712713
<i className="codicon codicon-info" style={{ fontSize: "12px" }}></i>
713714
<span>
714-
Total tokens (input + output) the model can process. Larger windows
715-
allow processing more content but may increase memory usage.
715+
Total tokens (input + output) the model can process. This will help Roo
716+
Code run correctly.
716717
</span>
717718
</div>
718719
</div>
@@ -804,7 +805,7 @@ const ApiOptions = ({ apiErrorMessage, modelIdErrorMessage }: ApiOptionsProps) =
804805
},
805806
})
806807
}}>
807-
<span style={{ fontWeight: 500 }}>Computer Interaction</span>
808+
<span style={{ fontWeight: 500 }}>Computer Use</span>
808809
</Checkbox>
809810
<i
810811
className="codicon codicon-info"
@@ -824,8 +825,7 @@ const ApiOptions = ({ apiErrorMessage, modelIdErrorMessage }: ApiOptionsProps) =
824825
marginTop: "4px",
825826
lineHeight: "1.4",
826827
}}>
827-
Enables the model to execute commands and modify files for automated
828-
assistance
828+
This model feature is for computer use like sonnet 3.5 support
829829
</p>
830830
</div>
831831
</div>
@@ -976,6 +976,11 @@ const ApiOptions = ({ apiErrorMessage, modelIdErrorMessage }: ApiOptionsProps) =
976976
</div>
977977
</div>
978978
</Pane>
979+
<div
980+
style={{
981+
marginTop: 15,
982+
}}
983+
/>
979984

980985
{/* end Model Info Configuration */}
981986

0 commit comments

Comments
 (0)