Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ After you have Python and (optionally) PostgreSQL installed, follow these steps:
5. `pip install -r requirements.txt` (install the dependencies)
6. `cp example-config.json config.json` (create `config.json` file)
7. Set your key and other settings in `config.json` file:
- LLM Provider (`openai`, `anthropic` or `groq`) key and endpoints (leave `null` for default) (note that Azure and OpenRouter are suppored via the `openai` setting)
- LLM Provider (`openai`, `anthropic` or `groq`) key and endpoints (leave `null` for default) (note that Azure, OpenRouter and Cheaper Inference are suppored via the `openai` setting)
- Your API key (if `null`, will be read from the environment variables)
- database settings: sqlite is used by default, PostgreSQL should also work
- optionally update `fs.ignore_paths` and add files or folders which shouldn't be tracked by GPT Pilot in workspace, useful to ignore folders created by compilers
Expand Down
5 changes: 3 additions & 2 deletions example-config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
// Configuration for the LLM providers that can be used. Pythagora supports
// OpenAI, Azure, Anthropic and Groq. OpenRouter and local LLMs (such as LM-Studio)
// also work, you can use "openai" provider to define these.
// OpenAI, Azure, Anthropic and Groq. OpenRouter, Cheaper Inference and local LLMs
// (such as LM-Studio) also work, you can use "openai" provider to define these.
// For Cheaper Inference, set "base_url" to "https://api.cheaperinference.com/v1".
"llm": {
"openai": {
// Base url to the provider/server, omitting the trailing "chat/completions" part.
Expand Down