Skip to content

Commit 6a31932

Browse files
committed
Release 1.236.2025
1 parent 91e1493 commit 6a31932

4 files changed

Lines changed: 533 additions & 41 deletions

File tree

Functions/GenXdev.AI/New-LLMTextChat.ps1

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,6 @@ function New-LLMTextChat {
576576
[Alias('DelayMilliSeconds')]
577577
[int] $SendKeyDelayMilliSeconds,
578578
###############################################################################
579-
###############################################################################
580579
[Alias('NoConfirmationFor')]
581580
[Parameter(
582581
Mandatory = $false,
@@ -819,32 +818,6 @@ function New-LLMTextChat {
819818
-ErrorAction SilentlyContinue `
820819
-WarningAction SilentlyContinue `
821820
-Depth 10
822-
823-
# add invoke-llmquery as an additional exposed cmdlet
824-
$ExposedCmdLets += @(
825-
@{
826-
Name = 'GenXdev.AI\Invoke-LLMQuery'
827-
AllowedParams = @('Query', 'Model', 'Attachments', 'IncludeThoughts', 'ContinueLast')
828-
ForcedParams = @(
829-
@{
830-
Name = 'NoSessionCaching';
831-
Value = $true
832-
}, @{
833-
Name = 'Instructions';
834-
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-
)
848821
}
849822
}
850823

@@ -868,17 +841,9 @@ $Instructions
868841
**Key Guidelines:**
869842
- **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.
870843
- **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.
872845
- **No Variables/Expressions:** Do not use PowerShell variables or expressions under any circumstances.
873846
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-
882847
**Multiple Tool Invocations:**
883848
- Feel free to invoke multiple tools within a single response if necessary.
884849

Functions/GenXdev.AI/Start-GenXdevMCPServer.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function Start-GenXdevMCPServer {
9999
}
100100
serverInfo = @{
101101
name = 'GenXdev-PowerShell-MCP-Server'
102-
version = '1.234.2025'
102+
version = '1.236.2025'
103103
}
104104
}
105105
}
@@ -197,7 +197,7 @@ function Start-GenXdevMCPServer {
197197
}
198198
serverInfo = @{
199199
name = 'GenXdev-PowerShell-MCP-Server'
200-
version = '1.234.2025'
200+
version = '1.236.2025'
201201
}
202202
}
203203
}

0 commit comments

Comments
 (0)