Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
theodoracheng committed Aug 20, 2024
1 parent 28f7ec1 commit b4a5300
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
This tool allows you to chat with your assistant locally in order to create a faster feedback loop for developers developing an assistant.
Debug mode is enabled by default so that you can see clearer information around what exactly is getting parsed successfully.

The different SSE events in the [agent protocol](https://github.com/github-technology-partners/copilot-partners/blob/main/docs/sse-events.md) that the CLI gives debug output for are:
1. [errors](https://github.com/github-technology-partners/copilot-partners/blob/c0b6be447b95d94fff6297bae820ea8cc6d36b87/docs/copilot-errors.md)
2. [references](https://github.com/github-technology-partners/copilot-partners/blob/c0b6be447b95d94fff6297bae820ea8cc6d36b87/docs/references.md)
3. [confirmations](https://github.com/github-technology-partners/copilot-partners/blob/c0b6be447b95d94fff6297bae820ea8cc6d36b87/docs/confirmations.md)
The different SSE events in the [agent protocol](TODO) that the CLI gives debug output for are:
1. [errors](TODO)
2. [references](TODO)
3. [confirmations](TODO)

> Note: This tool does not handle the payload verification process. To use this tool to validate your events, please temporarily disable payload verification for local testing and re-enable when completed.
Expand All @@ -17,7 +17,7 @@ The different SSE events in the [agent protocol](https://github.com/github-techn
```
1. Install / upgrade extension
```shell
gh extension install github-technology-partners/gh-debug-cli
gh extension install github.com/copilot-extensions/gh-debug-cli
```
1. See more info about the cli tool
```shell
Expand All @@ -40,6 +40,7 @@ Flags:
--url string url to chat with your agent (default "http://localhost:8080")
--username string username to display in chat (default "sparklyunicorn")
```
> The token noted in the flag above is used to authenticate against the provided LLM. If you are using a different service, then this token is not needed. Generate the user-to-server token by [creating a GitHub Applicatiion](https://docs.github.com/en/apps/creating-github-apps/about-creating-github-apps/about-creating-github-apps) and then following the [using the device flow to generate a user access token](https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-user-access-token-for-a-github-app#using-the-device-flow-to-generate-a-user-access-token) to generate the token.
2. You can alternatively set these flags as environment variables (in all caps) so you don't need to pass them in every time. The only "required" one to get this up and running is the url for your agent
```
export URL="http://localhost:8080/agent/blackbeard"
Expand Down
16 changes: 16 additions & 0 deletions workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: release
on:
push:
tags:
- "v*"
permissions:
contents: write

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cli/gh-extension-precompile@v1
with:
go_version_file: go.mod

0 comments on commit b4a5300

Please sign in to comment.