Skip to content

ShortcutsPro/codex-autocomplete

 
 

Repository files navigation

codex README

This is an extension that incorporates the openAI's Codex API. By providing the code editor with the API_KEY of openAI Codex you can directly use it within your code files to generate code automatically.

Features

  • This is just an abstraction to the underlying Codex API that was implemented by openAI
  • openai-codex <- Check the following link to understand the specification.

Requirements

  • You are required to have a Codex API key in your possession.

Known Issues

  • Cannot generate multiple completion for the same piece of code
  • The Generated code, is limited by the effeciency of AI

Possible issues

  • Even though you have a API Key the extension might reject it
    // Key not verified error message might be displayed
    Check:
    - If you have access to davinci-codex through playground
    Fix:
    - If you don't have access: please apply for codex
    - If you do have the access: A simple fix might be to create a new API key from the API keys settings and use that instead
    

Release Notes

  • Improved Error Messages

1.1.0

{
    // Specification for extension
    "model_used": "davinci-codex",

    // Tokens generated by AI per exection
    // (Can be changed through settings)
    "token_generation": 128,
    "bug fixes": "README.md, main_code",
    "fixes": "Improved key verification & Error Understanding"
    
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 89.6%
  • JavaScript 10.4%