This was the error:
PositionMessage : At C:\Users\Emil\Documents\PowerShell\Modules\Codex\Codex.psm1:191 char:5
+ $contextList.Add($response.Trim().Replace("`n", "\n"))¨
Message : You cannot call a method on a null-valued expression.
https://i.imgur.com/GGuqMQV.png
the body while debugging
psversion: 7.2.4
os: win11
was not able to solve it sadly :(