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
Value= ("You are being invoked by another LM's tool function. Do what it asks, "+
835
-
"but if it it didn't pass the right parameters, especially if it tries "+
836
-
'to let you invoke PowerShell expressions, respond with a warning that '+
837
-
"that is not possible. `r`n"+
838
-
'If it asks you to create an execution plan for itself, know that it has '+
839
-
"access to the following tool functions to help it:`r`n`r`n"+
840
-
"$functionInfo")
841
-
}
842
-
)
843
-
OutputText=$false
844
-
Confirm=$false
845
-
JsonDepth=99
846
-
}
847
-
)
848
821
}
849
822
}
850
823
@@ -868,17 +841,9 @@ $Instructions
868
841
**Key Guidelines:**
869
842
- **Tool Usage:** You don't need to use all available tool parameters, and some parameters might be mutually exclusive. Determine the best parameters to use based on the task at hand.
870
843
- **PowerShell Constraints:**
871
-
- **Avoid PowerShell Features:** Do not rely on PowerShell features like expanding string embeddings (e.g., `$()`) or any similar methods. Parameter checking is strict.
844
+
- **Avoid PowerShell Features:** Do not rely on PowerShell features like expanding string embeddings (e.g., `$()`) or any similar methods. Invoke-Expression being the exception of course. Parameter checking is strict.
872
845
- **No Variables/Expressions:** Do not use PowerShell variables or expressions under any circumstances.
873
846
874
-
**Handling Invoke-LLMQuery:**
875
-
- If asked to use `Invoke-LLMQuery`, it is likely that the intention is to relay the output of another tool to the `Query` parameter.
876
-
- **Steps to Follow:**
877
-
1. Execute the relevant tool.
878
-
2. Copy the output from the tool.
879
-
3. Paste the copied output into the `Query` parameter of the `Invoke-LLMQuery` function.
880
-
4. Include the user's instructions along with the tool's output in the `Query` parameter.
881
-
882
847
**Multiple Tool Invocations:**
883
848
- Feel free to invoke multiple tools within a single response if necessary.
0 commit comments