Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mneves75
Copy link
Contributor

@mneves75 mneves75 commented Jan 13, 2026

Summary

  • Fixes build error in CronSettings+Testing.swift where provider: argument label should be channel:
  • This file was missed during the channels rename sweep (commits 84bfaad6e, 6fdfe8ea7)

Verification

Searched for other potential missed instances:

grep -rn "provider:" --include="*.swift" apps/macos/Sources/ | grep -v "//"

Results showed only CronSettings+Testing.swift uses provider: in the context of agentTurn payload. Other provider: usages are for model providers (legitimate).

Confirmed API in CronModels.swift:77:

case agentTurn(
    message: String,
    thinking: String?,
    timeoutSeconds: Int?,
    deliver: Bool?,
    channel: String?,  // ← renamed from provider
    to: String?,
    bestEffortDeliver: Bool?
)

Test plan

  • swift build passes
  • SwiftUI previews compile (file is #if DEBUG preview/test code)

🤖 Generated with Claude Code

steipete added a commit to mneves75/clawdbot that referenced this pull request Jan 15, 2026
@steipete steipete force-pushed the fix/cron-settings-channel-param branch from a857e79 to 66de8ae Compare January 15, 2026 06:38
@steipete steipete merged commit 82d83a9 into openclaw:main Jan 15, 2026
@steipete
Copy link
Contributor

Landed via temp rebase onto main.\n\n- Gate: pnpm lint && pnpm build && pnpm test\n- Land commit: 66de8ae\n- Merge commit: 82d83a9\n\nThanks @mneves75!

cpojer pushed a commit to cpojer/clawdbot that referenced this pull request Jan 16, 2026
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.

2 participants