vizhub-core / vzcode

Mob Programming Code Editor
MIT License
69 stars 14 forks source link

AI Improvements: Change AI model to OpenAI GPT4o #775

Open curran opened 3 months ago

curran commented 3 months ago

Let's upgrade the AI feature to use the latest and greatest model from OpenAI!

https://platform.openai.com/docs/models/gpt-4o

curran commented 1 month ago

Steps:

  streams[streamId] = await openai.chat.completions.create({
    // model: 'gpt-3.5-turbo',
    model: 'gpt-4',
    messages,
    stream: true,
  });
curran commented 3 weeks ago

@darrenW04 I discovered https://openrouter.ai, which provides a unified API to many providers.

I'm doubting now that OpenAI is even the best provider for this.

darrenW04 commented 3 weeks ago

@darrenW04 I discovered https://openrouter.ai, which provides a unified API to many providers.

I'm doubting now that OpenAI is even the best provider for this.

ill look into this, I originally was implementing two invididual request calls, but if this is simpler I will pursue this instead.