Code Monkey home page Code Monkey logo

Comments (2)

b1tw0rker avatar b1tw0rker commented on May 24, 2024

On linux system (Rocky8 , Python 3.6) I get kind of an equal error:
But secret key and organizaion id is present on the wanted place.

Once you have your organization ID and secret key, create a file called
~/.config/openaiapirc with the following contents:

[openai]
organization_id=YOUR_ORG_ID
secret_key=YOUR_SECRET_KEY


Traceback (most recent call last):
  File "./codex_readme.py", line 196, in <module>
    generate_until_accepted(input_prompt, args.tokens)
  File "./codex_readme.py", line 169, in generate_until_accepted
    generated_readme = clear_screen_and_display_generated_readme(response)
  File "./codex_readme.py", line 116, in clear_screen_and_display_generated_readme
    next_response = next(response)
StopIteration

I guess the secret_key is the api_key, right ?!?

from codex-readme.

b1tw0rker avatar b1tw0rker commented on May 24, 2024

I could figure the following out:
The script seems to work, when the README.md file is not present (e.g. deleted) in the folder where executing the script.

This script looks to me extremly buggy till now :-( But the idea is very good !

from codex-readme.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.