Configuring the AI Provider

Index of All Documentation » Wing Pro Reference Manual » AI Assisted Development »

Wing currently supports only OpenAI as the AI provider, and you must have your own paid OpenAI account and API key in order to use this feature in Wing. You can generate API keys by logging into your OpenAI account, going to the API section, and then clicking on API Keys.

AI-assisted development is disabled by default. To enable it and set up the AI provider, open the AI tool from the Tools menu in Wing, select the Provider page, and then choose OpenAI as your provider and enter your OpenAI API key.

You can either place your API key into a file (the default location is openai.key in your User Settings directory) or enter it directly in the Configuration page.

You can also configure the currency and token costs here to match what you are being charged by OpenAI, so that you can keep track of the cost of requests that you make from Wing.

After your configuration is complete, press Apply to save it into your project.

This setting is stored in your project file so that you can charge different API keys for different projects. You will need to enable the AI integration in the same way in each of your Wing projects.