transitive-bullshit / agentic

AI agent stdlib that works with any LLM and TypeScript AI SDK.
https://agentic.so
MIT License
16.44k stars 2.14k forks source link

Use GITHUB_TOKEN name instead of GITHUB_API_KEY #666

Open pelikhan opened 2 months ago

pelikhan commented 2 months ago

The GITHUB_TOKEN is the common name for the GitHub apis, set by default in codespaces.

https://github.com/transitive-bullshit/agentic/blob/27599b781a8e64edf03ce3fd0429e4882e4649b5/packages/github/src/github-client.ts#L49

pelikhan commented 2 months ago

This is a breaking change; but you could also support both.