charonn0 / Xojo-OpenAI

A Xojo API for interacting with OpenAI
MIT License
16 stars 6 forks source link

Updated to Xojo API 2 #1

Closed Schneppi closed 1 year ago

Schneppi commented 1 year ago

And made a few UI Tweaks.

@charonn0 - If there's no interest in updating it for current Xojo Versions, please decline this pull request. Thank you. :)

dalu commented 1 year ago

great thanks

charonn0 commented 1 year ago

Unfortunately, this PR is based on an older version of the code and cannot be merged as-is. It's only a day or two out of date, but the code is changing fast as I'm actively working on it.

That said, it looks like the only actual API2-related changes in the PR are outside of the OpenAI module. So you should be able to copy the module into an API2 project without issues or changes.

The rest of the demo project (DemoWindow, App, etc.) are going to remain "classic" API for now, as they're not meant to be copied out of the demo project anyway, and I'd like to avoid using anything in the demo that isn't available in older versions of the IDE.

Schneppi commented 1 year ago

That's completely fine and I understand. Thank you for your work on this project.