Giter Club home page Giter Club logo

sidekick-github's Introduction

Fixie GitHub Sidekick

This repo has an example Fixie Sidekick that lets you query GitHub documentation, and take action on GitHub via its GraphQL API.

To get started:

  1. Create a Fixie account at https://console.fixie.ai.
  2. Create a GitHub Personal Access Token at https://github.com/settings/tokens. You must create a "Fine Grained" access token. Be sure to give the token read only access to things you want to ask the Sidekick about -- we recommend adding access to repository contents, issues, and pull requests, at a minimum.
  3. Create a file named .env in this project.
  • Add your GitHub token to the ```.env`` file as follows:
GITHUB_TOKEN=YOUR-TOKEN-HERE
  • Save the file.
  1. Get your Sidekick up and running with:
npm install
npm run dev

sidekick-github's People

Contributors

mdwelsh avatar benlower avatar

Stargazers

SJ avatar

Watchers

Justin Uberti avatar  avatar

sidekick-github's Issues

This project does not compile any more

https://github.com/fixie-ai/sidekick-github build log

using node -v
v18.19.0

nik$ npm install

added 476 packages, and audited 477 packages in 1m

150 packages are looking for funding
run npm fund for details

found 0 vulnerabilities
nik$ npm run dev

[email protected] dev
npm run build && npm run serve

[email protected] build
npm run typecheck

[email protected] typecheck
tsc -p tsconfig.json

src/index.tsx:27:7 - error TS2322: Type '{ query: { description: string; type: string; required: true; }; }' is not assignable to type 'JSONSchema7 & { type?: "object" | undefined; }'.
Object literal may only specify known properties, and 'query' does not exist in type 'JSONSchema7 & { type?: "object" | undefined; }'.

27 query: {
~~~~~

node_modules/ai-jsx/dist/esm/core/completion.d.ts:41:5
41 parameters: JSONSchema7 & {
~~~~~~~~~~
The expected type comes from property 'parameters' which is declared here on type 'Tool'

src/index.tsx:34:7 - error TS2578: Unused '@ts-expect-error' directive.

34 // @ts-expect-error
~~~~~~~~~~~~~~~~~~~

src/index.tsx:54:7 - error TS2322: Type '{ role: string; systemMessage: Element; tools: Record<string, Tool>; finalSystemMessageBeforeResponse: Element; }' is not assignable to type 'SidekickProps'.
Property 'role' does not exist on type 'SidekickProps'.

54 role="GitHub assistant"
~~~~

Found 3 errors in the same file, starting at: src/index.tsx:27

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.