meltylabs / melty

Chat first code editor. To download the packaged app:
https://docs.google.com/forms/d/e/1FAIpQLSc6uBe0ea26q7Iq0Co_q5fjW2nypUl8G_Is5M_6t8n7wZHuPA/viewform
MIT License
5.17k stars 346 forks source link

OpenAI :) #64

Closed cbh123 closed 2 months ago

cbh123 commented 2 months ago

Adds OpenAI API so we can test out O1. openaiAPI.ts doesn't support streaming or system prompts yet (because O1 doesn't).

Should be an easy fix for later. Can copy the logic in claudeAPI.ts