GithubHelp home page GithubHelp logo

Comments (3)

guymguym avatar guymguym commented on September 16, 2024

@dmartinol @RobotSail @cooktheryan
I think we can set up a github workflow on this repo that whenever I type /copilot-ops in a comment it runs the cli and creates a PR referencing that comment, and then we can resolve this issue by typing:

/copilot-ops edit README.md -- replace all OPENAI_API_TOKEN with OPENAI_API_KEY 

:)
https://pakstech.com/blog/gh-actions-issue-comments/
https://github.community/t/how-to-use-the-github-actions-bot/16535/2

from copilot-ops.

guymguym avatar guymguym commented on September 16, 2024

ok we have an initial bot, so lets try this:

/copilot-ops edit --file README.md --request "The variable name is described as OPENAI_API_TOKEN in the README.md, but actually it is OPENAI_API_KEY"

from copilot-ops.

github-actions avatar github-actions commented on September 16, 2024

exec: ["/copilot-ops","edit","--file","README.md","--request","The variable name is described as OPENAI_API_TOKEN in the README.md, but actually it is OPENAI_API_KEY"]

exitCode:

0

stdout:

num parts: 1

stderr:

2022/06/08 19:02:29 flags:
2022/06/08 19:02:29  - request : The variable name is described as OPENAI_API_TOKEN in the README.md, but actually it is OPENAI_API_KEY
2022/06/08 19:02:29  - write   : false
2022/06/08 19:02:29  - path    : .
2022/06/08 19:02:29  - file    : [README.md]
2022/06/08 19:02:29  - fileset : []
2022/06/08 19:02:29  - ntokens : 0
2022/06/08 19:02:29 viper: /home/runner/work/copilot-ops/copilot-ops/.copilot-ops.yaml
2022/06/08 19:02:29 viper: 
2022/06/08 19:02:29 Filesets: [{Name:examples Files:[examples/*.yaml]} {Name:stock-data Files:[examples/stock-data.yaml]} {Name:cluster-scope-overlays Files:[examples/stale_dev_overlay/*.yaml]} {Name:app1 Files:[examples/app1/*.yaml]}]
2022/06/08 19:02:29 loading files from command line: [README.md]
2022/06/08 19:02:29 LoadFilesFromGlob "README.md" - matches [README.md]
2022/06/08 19:02:29 filemap: len 1
2022/06/08 19:02:29  - tag: "README.md": path: "README.md"          [# copilot-ops  `copilot-ops` i ...] len 6170
2022/06/08 19:02:29 decoded input: "# @README.md\n# copilot-ops\n\n`copilot-ops` is a CLI tool that boosts up any \"devops repo\" to a ninja level of *Artificially Intelligent Ops Repo*.\n\n ..."
2022/06/08 19:02:32 received patch from OpenAI: "# @README.md\n# copilot-ops\n\n`copilot-ops` is a CLI tool that boosts up any \"devops repo\" to a ninja level of *Artificially Intelligent Ops Repo*.\n\n"
2022/06/08 19:02:32 filemap: len 1
2022/06/08 19:02:32  - tag: "README.md": path: "README.md"          [# copilot-ops  `copilot-ops` i ...] len 6165
2022/06/08 19:02:32 
# @README.md
# copilot-ops

`copilot-ops` is a CLI tool that boosts up any "devops repo" to a ninja level of *Artificially Intelligent Ops Repo*.

## Requirements

In order to use `copilot-ops`, you need to have an OpenAI account with access to the GPT-3 Codex model,
and an API key saved as the `OPENAI_API_KEY` environment variable.

## Installation

Installing `copilot-ops` is simple, simply clone this repository and `make build`:
...

from copilot-ops.

Related Issues (20)

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.