Skip to content
Closed
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

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions .github/workflows/daily-agent-of-the-day-blog-writer.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ Do not stage the PNG with `git add` and do not include any binary files in the P
- `seoDescription` (max 160 chars, SERP-friendly),
- `linkedPostText` (short, clickable link text for post cards/social snippets).
- If `seoDescription` is over 160 characters, rewrite it before continuing.
4. When calling sub-agents via the `task` tool, always set an explicit compatible chat model:
- `persona-generator`: `model: claude-haiku-4.5`
- `story-writer`: `model: claude-sonnet-4.6`
- `seo-optimizer`: `model: claude-haiku-4.5`

### 5) Create blog post file

Expand Down Expand Up @@ -234,7 +238,7 @@ Never end with plain text only and no safe-output call.
#### agent: `persona-generator`
---
description: Generates a rotating, policy-safe blogger persona for daily workflow storytelling
model: mai-code
model: claude-haiku-4.5
---
Produce a short persona profile for a GitHub blog voice.

Expand All @@ -253,7 +257,7 @@ Constraints:
#### agent: `story-writer`
---
description: Writes a lively, evidence-grounded Agent of the Day story in GitHub blog style
model: large
model: claude-sonnet-4.6
---
Write a concise blog post body in GitHub blog style using the provided persona and evidence.

Expand All @@ -270,7 +274,7 @@ Return only markdown body content (no frontmatter).
#### agent: `seo-optimizer`
---
description: Produces SEO metadata for Astro blog cards and link previews
model: mai-code
model: claude-haiku-4.5
---
Generate:
1) `seoDescription`: <= 160 characters, search-optimized, accurate.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/smoke-copilot-auto.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions actions/setup/js/copilot_harness.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2597,6 +2597,12 @@ process.exit(1);`,
expect(process.env.COPILOT_PROVIDER_WIRE_API).toBe("responses");
});

it("sets COPILOT_PROVIDER_WIRE_API=responses for mai-code model id", () => {
process.env.COPILOT_MODEL = "mai-code-1-flash-picker";
applyCopilotWireAPI({ modelsJson: makeModelsJson(), logger: () => {} });
expect(process.env.COPILOT_PROVIDER_WIRE_API).toBe("responses");
});

it("sets COPILOT_PROVIDER_WIRE_API=completions for a completions model", () => {
process.env.COPILOT_MODEL = "gemini-2.5-pro";
applyCopilotWireAPI({ modelsJson: makeModelsJson(), logger: () => {} });
Expand Down