Input:
Invoke-AITool -Prompt "What does this do?" -Path 'Tests/aitools.Tests.ps1' -Tool ollama
Output:
FileName : aitools.Tests.ps1
FullPath : /Users/justin/Code-Others/aitools/Tests/aitools.Tests.ps1
Tool : ollama
Model : Default
Result : Usage:
ollama [flags]
ollama [command]
Available Commands:
serve Start ollama
create Create a model
show Show information for a model
run Run a model
stop Stop a running model
pull Pull a model from a registry
push Push a model to a registry
signin Sign in to ollama.com
signout Sign out from ollama.com
list List models
ps List running models
cp Copy a model
rm Remove a model
help Help about any command
Flags:
-h, --help help for ollama
-v, --version Show version information
Use "ollama [command] --help" for more information about a command.
StartTime : 07/12/2025 10:52:10
EndTime : 07/12/2025 10:52:10
Duration : 00:00:00
Success : True
This is the same output returned if I run ollama I think the arguments aren't being passed to Ollama? Looking at Invoke-AITool.ps1 the switch statement doesn't have Ollama in it.
Input:
Output:
This is the same output returned if I run
ollamaI think the arguments aren't being passed to Ollama? Looking atInvoke-AITool.ps1the switch statement doesn't have Ollama in it.