- Updated the OpenAI client to use environment variables for API keys. - Improved the configuration and management of OpenAI clients. - Added retry mechanism to HTTP requests for improved reliability. Co-authored-by: mahmmoud.hassanein <mahmmoud.hassanein@gmail.com>
8 lines
124 B
Plaintext
8 lines
124 B
Plaintext
|
|
!!hero_code.generate_client
|
|
name:'openai'
|
|
classname:'OpenAI'
|
|
singleton:0
|
|
default:1
|
|
hasconfig:1
|
|
reset:0 |