From 95fa1e400d397418020e86ba8a80e2499772eba2 Mon Sep 17 00:00:00 2001 From: sam hoang Date: Tue, 21 Jan 2025 23:42:31 +0700 Subject: [PATCH] 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 --- .../src/components/settings/ApiOptions.tsx | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/webview-ui/src/components/settings/ApiOptions.tsx b/webview-ui/src/components/settings/ApiOptions.tsx index cda5191..13e7a57 100644 --- a/webview-ui/src/components/settings/ApiOptions.tsx +++ b/webview-ui/src/components/settings/ApiOptions.tsx @@ -588,7 +588,8 @@ const ApiOptions = ({ apiErrorMessage, modelIdErrorMessage }: ApiOptionsProps) = margin: "0 0 15px 0", lineHeight: "1.4", }}> - Configure the capabilities and pricing for your custom OpenAI-compatible model + Configure the capabilities and pricing for your custom OpenAI-compatible model.
+ Be careful for the model capabilities, as they can affect how Roo Code can work.

{/* Capabilities Section */} @@ -655,8 +656,8 @@ const ApiOptions = ({ apiErrorMessage, modelIdErrorMessage }: ApiOptionsProps) = }}> - Maximum number of tokens the model can generate in a response. Higher - values allow longer outputs but may increase costs. + Maximum number of tokens the model can generate in a response.
+ (-1 is depend on server)
@@ -711,8 +712,8 @@ const ApiOptions = ({ apiErrorMessage, modelIdErrorMessage }: ApiOptionsProps) = }}> - Total tokens (input + output) the model can process. Larger windows - allow processing more content but may increase memory usage. + Total tokens (input + output) the model can process. This will help Roo + Code run correctly. @@ -804,7 +805,7 @@ const ApiOptions = ({ apiErrorMessage, modelIdErrorMessage }: ApiOptionsProps) = }, }) }}> - Computer Interaction + Computer Use - Enables the model to execute commands and modify files for automated - assistance + This model feature is for computer use like sonnet 3.5 support

@@ -976,6 +976,11 @@ const ApiOptions = ({ apiErrorMessage, modelIdErrorMessage }: ApiOptionsProps) = +
{/* end Model Info Configuration */}