gen-pr 2.11.8 → 2.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -73,6 +73,12 @@ DeepSeek R1 on OpenRouter (`openrouter/deepseek/deepseek-r1-0528:free`) for plan
73
73
  npx --yes gen-pr --issue-number 89 --planning-model openrouter/deepseek/deepseek-r1-0528:free --reasoning-effort high --repomix-extra-args="--compress --remove-empty-lines --include 'src/**/*.ts'" --coding-tool gemini
74
74
  ```
75
75
 
76
+ Grok 4 (`xai/grok-4`) for planning and Aider for coding:
77
+
78
+ ```sh
79
+ npx --yes gen-pr --issue-number 89 --planning-model xai/grok-4 --reasoning-effort high --repomix-extra-args="--compress --remove-empty-lines --include 'src/**/*.ts'" --aider-extra-args="--model gemini/gemini-2.5-pro --edit-format diff-fenced --test-cmd='yarn check-for-ai' --auto-test"
80
+ ```
81
+
76
82
  Local Gemma 3n via Ollama (`ollama/gemma3n`) for planning and Aider for coding:
77
83
 
78
84
  ```sh
@@ -117,6 +123,7 @@ The tool requires **model names defined on [llmlite](https://docs.litellm.ai/doc
117
123
  - **Anthropic**: `anthropic/claude-4-sonnet-latest`, `anthropic/claude-3-5-haiku-latest` and more
118
124
  - **AWS Bedrock**: `bedrock/us.anthropic.claude-sonnet-4-20250514-v1:0`, `bedrock/us.anthropic.claude-3-5-haiku-20241022-v1:0` and more
119
125
  - **Google Vertex AI**: `vertex/gemini-2.5-pro`, `vertex/gemini-2.5-flash` and more
126
+ - **xAI**: `xai/grok-4`, `xai/grok-3`, `xai/grok-3-mini` and more
120
127
  - **OpenRouter**: `openrouter/deepseek/deepseek-r1-0528:free`, `openrouter/deepseek/deepseek-chat-v3-0324:free` and more
121
128
  - **Ollama**: `ollama/gemma3n`, `ollama/deepseek-r1`, `ollama/qwen3` and more
122
129
 
@@ -131,6 +138,7 @@ Each provider uses standard environment variables for authentication:
131
138
  - **Azure OpenAI**: `AZURE_OPENAI_API_KEY`, `AZURE_OPENAI_ENDPOINT`, `AZURE_OPENAI_API_VERSION`
132
139
  - **AWS Bedrock**: `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_REGION` (or `AWS_REGION_NAME`)
133
140
  - **Google Vertex AI**: `GOOGLE_APPLICATION_CREDENTIALS` or default service account
141
+ - **xAI**: `XAI_API_KEY`
134
142
  - **OpenRouter**: `OPENROUTER_API_KEY`
135
143
  - **Ollama**: `OLLAMA_BASE_URL` (default: `http://localhost:11434`), `OLLAMA_API_KEY` (optional)
136
144
  - Coding Tools