Skip to content

Conversation

@HikaruEgashira
Copy link
Contributor

@HikaruEgashira HikaruEgashira commented Sep 1, 2025

Pull Request Description

Added support for xAI's grok-code-fast-1 model, which is cost-effective, fast, and particularly good at writing code with a 256K context window.

Changes

  • Added grok-code-fast-1 to XAI_KNOWN_MODELS array
  • Set grok-code-fast-1 as the default xAI model

Related Issue

Closes #4386

Technical Notes

https://openrouter.ai/x-ai/grok-code-fast-1

Testing

  • Verified grok-code-fast-1 is properly recognized by the xAI provider
  • Confirmed it's correctly set as the default model

Email:

@HikaruEgashira HikaruEgashira marked this pull request as draft September 1, 2025 23:28
@HikaruEgashira HikaruEgashira force-pushed the fix/add-grok-code-fast-1-to-xai-models branch from 1c025b9 to 197b560 Compare September 2, 2025 02:44
@HikaruEgashira HikaruEgashira marked this pull request as ready for review September 2, 2025 02:48
@github-actions
Copy link
Contributor

This pull request has been automatically marked as stale because it has not had recent activity for 23 days.

What happens next?

  • If no further activity occurs, this PR will be automatically closed in 7 days
  • To keep this PR active, simply add a comment, push new commits, or add the keep-open label
  • If you believe this PR was marked as stale in error, please comment and we'll review it

Thank you for your contribution! 🚀

@github-actions github-actions bot added the stale label Sep 26, 2025
@angelahning angelahning self-assigned this Sep 26, 2025
@angelahning
Copy link
Collaborator

angelahning commented Sep 26, 2025

Thanks for your contribution!
Great to support the code-fast model, but let's not change the default model for now .

@angelahning
Copy link
Collaborator

Did more research, the code-fast model is a good starter model as it's cheap and fast. Can keep as default.

@github-actions github-actions bot removed the stale label Sep 27, 2025
@HikaruEgashira
Copy link
Contributor Author

An unrelated test is failing. Should I fix it?
Additionally, is it required to change the default?

@DOsinga
Copy link
Collaborator

DOsinga commented Oct 2, 2025

i would sync with main and push again and let me know

@HikaruEgashira HikaruEgashira force-pushed the fix/add-grok-code-fast-1-to-xai-models branch from 73436da to 51e131a Compare October 3, 2025 06:08
@HikaruEgashira HikaruEgashira requested a review from a team as a code owner October 3, 2025 06:08
- Added grok-code-fast-1 to the list of supported xAI models
- This model is officially available via xAI API and optimized for coding tasks
- Fixes 404 error when using grok-code-fast-1 in session description generation

Signed-off-by: HikaruEgashira <[email protected]>
- Changed XAI_DEFAULT_MODEL from grok-3 to grok-code-fast-1
- This optimizes the default experience for coding tasks

Signed-off-by: HikaruEgashira <[email protected]>
@HikaruEgashira HikaruEgashira force-pushed the fix/add-grok-code-fast-1-to-xai-models branch from 51e131a to 51a6e8f Compare October 3, 2025 06:12
@HikaruEgashira
Copy link
Contributor Author

@DOsinga @angelahning Branch is up to date! Please rerun the CI

@DOsinga DOsinga merged commit 76147a6 into block:main Oct 4, 2025
10 checks passed
zanesq added a commit that referenced this pull request Oct 4, 2025
…-unification

* 'main' of github.com:block/goose:
  feat: set custom models for lead/worker (#4598)
  feat: add grok-code-fast-1 support for xAI provider (#4472)
  Persist dynamic extension config so we can resume recipe sessions w/ extensions (#4331)
  fix: show PowerShell PATH instructions for Windows users (#4989)
  feat: add Smart Task Organizer recipe for Hacktoberfest (#4936)
  Fix extension headers (#5000)
  feat: add advanced software project generator initializer recipe (#4767) (#4949)
lifeizhou-ap added a commit that referenced this pull request Oct 6, 2025
* main: (22 commits)
  fix: Issue #4540: `goose configure` -> Cursor Agent succeeds (#4942)
  feat: Add advanced data analysis pipeline recipe (#4990) (#5005)
  Create / edit recipe form unification and improvements (#4693)
  feat: add Code Review Mentor recipe with Developer and Memory extensions (#4992) (#5014)
  feat: set custom models for lead/worker (#4598)
  feat: add grok-code-fast-1 support for xAI provider (#4472)
  Persist dynamic extension config so we can resume recipe sessions w/ extensions (#4331)
  fix: show PowerShell PATH instructions for Windows users (#4989)
  feat: add Smart Task Organizer recipe for Hacktoberfest (#4936)
  Fix extension headers (#5000)
  feat: add advanced software project generator initializer recipe (#4767) (#4949)
  Removed unused libs (#4932)
  Platform extensions sketch (#4868)
  Add reply to the routes (#4963)
  feat(cli): add GOOSE_DEBUG environment variable support (#4825)
  docs: Change community page sections (#4984)
  docs: remove temporary Hacktoberfest issue templates (#4982)
  Create multi-channel researcher prompt (#4947)
  docs: Add Community Content section to Community Page (#4964)
  Allow empty API Key when registering custom provider (#4977)
  ...
wpfleger96 added a commit to wpfleger96/goose that referenced this pull request Oct 6, 2025
* main: (130 commits)
  Add new subcommand for opening recipes in desktop app (block#4970)
  Update system.md with softer subagent language (block#5023)
  docs: add new goose tip (block#4941)
  Fix nix flake double copy (block#4976)
  Upgrade electron for macOS Tahoe compatibility (block#5015)
  fix: check server is ready so that we can decode the recipe deeplink (block#5021)
  fix: backwards compatible parsing recipe file (block#5020)
  chore: Used common function to list recipes in local machine (block#4974)
  fix: Issue block#4540: `goose configure` -> Cursor Agent succeeds (block#4942)
  feat: Add advanced data analysis pipeline recipe (block#4990) (block#5005)
  Create / edit recipe form unification and improvements (block#4693)
  feat: add Code Review Mentor recipe with Developer and Memory extensions (block#4992) (block#5014)
  feat: set custom models for lead/worker (block#4598)
  feat: add grok-code-fast-1 support for xAI provider (block#4472)
  Persist dynamic extension config so we can resume recipe sessions w/ extensions (block#4331)
  fix: show PowerShell PATH instructions for Windows users (block#4989)
  feat: add Smart Task Organizer recipe for Hacktoberfest (block#4936)
  Fix extension headers (block#5000)
  feat: add advanced software project generator initializer recipe (block#4767) (block#4949)
  Removed unused libs (block#4932)
  ...
Itz-Agasta pushed a commit to Itz-Agasta/goose that referenced this pull request Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Please support grok-code-fast from xAI

3 participants