[FEATURE]:Add OpenAI Provider with OpenAI Business Login Method
Feature hasn't been suggested before.
- [x] I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Need to add OpenAI with special emphasis on implementing OpenAI Business login authentication.
This issue might be a duplicate of existing issues. Please check:
- #7570: OpenAI does Not work when trying with Organization Subscription
- #7604: When login to ChatGPT Team subscribe account, telling me "Usage not included in your plan"
- #7550: opentui: TUI crashes after successful native OpenAI account connection
- #7565: OpenAI auth had fatal error after successful auth
These issues all relate to OpenAI authentication challenges and setup problems. Feel free to ignore if your specific case addresses a different aspect of OpenAI Business Login authentication.
@leonsong09 I think we added this right?
I thought pro, plus, teams all work maybe there is another option I didnt know about
@rekram1-node team accounts still aren't working after the new release earlier today. I even tried to remove the oauth and try the auth process again and still got the error
Please show what issues you are having?
Check 1.1.12 (this is the version u need to be on), then try:
opencode auth logout # select openai
then log back in
@rekram1-node this is what I see after re-doing the auth on 1.1.12. I should clarify I used the /connect command in the TUI. I did see another thread where people mention using opencode auth login. I am going to try that now
@rekram1-node if I follow this exactly it's now working for me: https://github.com/anomalyco/opencode/issues/7570#issuecomment-3733591788
update to the latest opencode version run opencode auth logout run opencode auth login
But the TUI /connect does not work properly
@rekram1-node if I follow this exactly it's now working for me: #7570 (comment)
update to the latest opencode version run opencode auth logout run opencode auth login
But the TUI /connect does not work properly
Thank!I solved it using this method. opencode version 1.1.12
Ah found the bug, fixing
fixed in next release: https://github.com/anomalyco/opencode/commit/ee8b38ab267e76cb05a4c4303188b8605886a70a