docs(agent): add Spark 2 alongside the Spark 1 models - #1277
Open
rakshith48 wants to merge 1 commit into
Open
Conversation
Spark 2 joins the model tables, snippets, CLI options, and OpenAPI enums as the newest model. Spark 1 Mini and Spark 1 Pro stay documented as they are, and Spark 1 Mini remains the stated API default. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds Spark 2 to the agent docs as the newest model. Purely additive:
spark-1-miniandspark-1-prokeep every section, table row, and example they have today, and Spark 1 Mini is still documented as the API default.features/agent.mdx— Spark 2 row in the model table, a### Spark 2section, andspark-2added to themodelparameter description.features/models.mdx— Spark 2 in Available Models, a Spark 2 section, a Spark 2 column in the comparison table, and a Spark 2 pricing bullet. The Mini-versus-Pro decision tree stays, with a line noting Spark 2 covers both branches.agent/with-model/{python,js,curl}gain aspark-2example above the existing Mini and Pro examples; the CLI options snippet gains a--model spark-2line.advanced-scraping-guide.mdx,sdks/cli.mdx,developer-guides/usage-guides/choosing-the-data-extractor.mdx—spark-2added to the model lists.api-reference/v2-openapi.json—spark-2added to the request and responsemodelenums. Defaults are unchanged (spark-1-minion the request).spark-1mention counts are identical tomainin every touched file; the changed lines were rewritten in place to name Spark 2 as well.One thing to confirm
The docs still say
spark-1-miniis the API default, because I could not verify that the/v2/agentdefault changed. If it now defaults tospark-2, the default markers in the tables, the Tip, and the OpenAPIdefaultneed a one-line flip — happy to push that.Notes
ja/,zh/,pt-BR/,fr/,es/) are untouched per the repo guideline — translations land through locadex.🤖 Generated with Claude Code