chore: default to gemini-3.1-pro-preview + gitignore internal docs - #22
Merged
Conversation
Bumps the structured-output default model to gemini-3.1-pro-preview and adds .gitignore rules for .DS_Store and the local-only docs/claude_docs/ scratch directory so internal debug notes are never committed. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Updates the campaign-setup agent’s structured-output default model to gemini-3.1-pro-preview, and adds local-only ignore rules to keep internal scratch docs and macOS metadata out of the repo.
Changes:
- Bump
campaign_setupdefault model fromgemini-2.5-flashtogemini-3.1-pro-preview. - Adjust node-factory tests to assert
init_chat_modelis called with the resolved default model name. - Add
.gitignoreentries for.DS_Storeanddocs/claude_docs/.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
src/yieldagent/agents/campaign_setup/nodes.py |
Updates DEFAULT_MODEL and (needs) aligned documentation around provider resolution behavior. |
tests/agents/test_nodes.py |
Updates tests to assert the default path uses _resolve_model_name(DEFAULT_MODEL). |
.gitignore |
Ignores macOS .DS_Store and local-only docs/claude_docs/ scratch docs. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
16
to
20
| # Provider is inferred from the model name by init_chat_model: | ||
| # gemini-* -> google_genai (requires GOOGLE_API_KEY) | ||
| # claude-* -> anthropic (requires ANTHROPIC_API_KEY) | ||
| # gpt-* -> openai (requires OPENAI_API_KEY) | ||
| # A bare gemini-* is rewritten to google_genai:gemini-* by _resolve_model_name | ||
| # (Google AI Studio, requires GOOGLE_API_KEY) — see that function for why. | ||
| # Override at the CLI via --model, or pass an explicit "provider:model" string. |
th0rz05
added a commit
that referenced
this pull request
Jun 9, 2026
…cs (#22) Bumps the structured-output default model to gemini-3.1-pro-preview and adds .gitignore rules for .DS_Store and the local-only docs/claude_docs/ scratch directory so internal debug notes are never committed.
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.
Summary
gemini-3.1-pro-preview..gitignorerules for.DS_Storeand the local-onlydocs/claude_docs/scratch directory.Third of 3 small PRs.
Test plan
PYTHONPATH=src pytest -q(33 passed)ruff checkclean on changed files