From 7d4ebc94a740bef106b032fb09529595b43d550f Mon Sep 17 00:00:00 2001 From: Chrissy LeMaire Date: Sat, 29 Jun 2024 15:20:55 +0200 Subject: [PATCH] Update finetuna.psm1 --- finetuna.psm1 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/finetuna.psm1 b/finetuna.psm1 index b191992..1a4c8d5 100644 --- a/finetuna.psm1 +++ b/finetuna.psm1 @@ -43,6 +43,11 @@ foreach ($file in (Get-ChildItem -Path $publicdir -Filter *.ps1)) { . Import-ModuleFile -Path $file.FullName } +# Import all internal functions +foreach ($function in (Get-ChildItem "$ModuleRoot\private\" -Filter "*.ps1" -Recurse -ErrorAction Ignore)) { + . Import-ModuleFile -Path $function.FullName +} + $PSDefaultParameterValues["*:NoTypeInformation"] = $true Set-Alias -Name Invoke-TunedChat -Value Invoke-TuneChat