michaelmagan / hydraai

a dev tool for generative UI that adapts to user context in real-time
https://usehydra.ai
MIT License
114 stars 8 forks source link

Allow openai model choice #27

Closed MichaelMilstead closed 3 weeks ago

MichaelMilstead commented 3 weeks ago

Adds a constructer param to HydraClient to allow the user to specify which openAI model should be used behind the scenes.

Defaults to 'gpt-4o'.

If the provided value is not a valid model name, the client app will throw an error on generateComponent request