Skip to content

Commit

Permalink
rmdir
Browse files Browse the repository at this point in the history
  • Loading branch information
potatoqualitee committed Jun 29, 2024
1 parent 5cb6e52 commit 042b923
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions finetuna.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ if (-not (Get-Module PSOpenAI)) {
# Get PSOpenAI's private functions
$modulepath = Get-Module -Name PSOpenAI -ListAvailable | Select-Object -First 1
$privatedir = Join-Path -Path $modulepath.ModuleBase -ChildPath Private
$publicdir = Join-Path -Path $modulepath.ModuleBase -ChildPath Public
function ValidateModelName {
param([string]$ModelName)
if ($ModelName -notin $script:ValidModels -and -not $ModelName.StartsWith("ft:")) {
Expand Down Expand Up @@ -40,11 +39,6 @@ foreach ($function in (Get-ChildItem "$ModuleRoot\public" -Filter "*.ps1" -Recur
. Import-ModuleFile -Path $function.FullName
}

# i need these psopenai public things to use my internal functions
foreach ($file in (Get-ChildItem -Path $publicdir -Filter *.ps1)) {
#. Import-ModuleFile -Path $file.FullName
}

$PSDefaultParameterValues["*:NoTypeInformation"] = $true

Set-Alias -Name Invoke-TunedChat -Value Invoke-TuneChat
Expand Down

0 comments on commit 042b923

Please sign in to comment.