- 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>
openai
To get started
import freeflowuniverse.herolib.clients. openai
mut client:= openai.get()!
client...
example heroscript
!!openai.configure
secret: '...'
host: 'localhost'
port: 8888