You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
could be, that the error I am seeing is just a weird behavior of portkey to signal missing auth. I have a suspicion, that portkey can deduce the correct parameters depending on the model configuration. When the env var is not correctly handed down, then the auth on portkey fails and it cannot fetch the config, thus falling back on requiring the headers.
This should probably be solved first, so we are sure, that t3code handles env_var #317
Activity
Iweisc commentedon Mar 13, 2026
seems to work for me.
Iweisc commentedon Mar 13, 2026
Can you maybe help me reproduce the issue locally?
benjaminbauer commentedon Mar 13, 2026
you mean you can use models via portkey in t3code?
benjaminbauer commentedon Mar 13, 2026
could be, that the error I am seeing is just a weird behavior of portkey to signal missing auth. I have a suspicion, that portkey can deduce the correct parameters depending on the model configuration. When the env var is not correctly handed down, then the auth on portkey fails and it cannot fetch the config, thus falling back on requiring the headers.
This should probably be solved first, so we are sure, that t3code handles env_var #317
Repro would require a working portkey instance
benjaminbauer commentedon Mar 13, 2026
update:
I tried to hard-code my API key in
~/.codex/config.toml. I removedenv_key = "PORTKEY_API_KEY"and tested both withand
I confirmed:
Iweisc commentedon Mar 13, 2026
seems to be working for me.
ofcljaved commentedon Mar 18, 2026
Hey did anyone of you find a solution I still not able to run t3code it keeps saying MISSING AZURE_API_KEY