You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<SimpleTooltiptooltip="Controls randomness in responses. Lower values (0.0-0.3) make outputs more focused and deterministic. Higher values (0.7-1.0) increase creativity and variety. Default: 0.5">
@@ -356,7 +355,16 @@ export function ToolsetView({
356
355
tool: Tool,
357
356
updates: {name?: string;description?: string},
358
357
)=>{
359
-
if(tool.type==="http"){
358
+
if(tool.type==="prompt"){
359
+
// Prompt templates are only sometimes updated via variation under the hood. We use this endpoint instead to ensure it mirrors editing from the ToolBuilder page itself.
Copy file name to clipboardExpand all lines: client/sdk/docs/models/components/updateprompttemplateform.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,5 +19,6 @@ let value: UpdatePromptTemplateForm = {
19
19
|`engine`|[components.UpdatePromptTemplateFormEngine](../../models/components/updateprompttemplateformengine.md)|:heavy_minus_sign:| The template engine |
20
20
|`id`|*string*|:heavy_check_mark:| The ID of the prompt template to update |
21
21
|`kind`|[components.UpdatePromptTemplateFormKind](../../models/components/updateprompttemplateformkind.md)|:heavy_minus_sign:| The kind of prompt the template is used for |
22
+
|`name`|*string*|:heavy_minus_sign:| The name of the prompt template. Will be updated via variation |
22
23
|`prompt`|*string*|:heavy_minus_sign:| The template content |
23
24
|`toolsHint`|*string*[]|:heavy_minus_sign:| The suggested tool names associated with the prompt template |
0 commit comments