Skip to content

feat: add config structs for all agent adapters#54

Merged
Manavarya09 merged 1 commit intomainfrom
feat/agent-configs
Apr 15, 2026
Merged

feat: add config structs for all agent adapters#54
Manavarya09 merged 1 commit intomainfrom
feat/agent-configs

Conversation

@Manavarya09
Copy link
Copy Markdown
Owner

Summary

  • Add ClaudeConfig (binary path, resume flag), AiderConfig (model), CopilotConfig (binary path), OpenCodeConfig (binary path)
  • All 8 agents now accept their config from AgentsConfig in ~/.relay/config.toml
  • Agent constructors updated to use config instead of hardcoded defaults

Test plan

  • cargo check compiles cleanly
  • All 62 tests pass
  • relay init generates config.toml with all agent sections

🤖 Generated with Claude Code

Previously only codex, gemini, ollama, and openai had config structs.
Now claude, aider, copilot, and opencode also have configurable options
(binary path, model, resume flag) loaded from ~/.relay/config.toml.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Manavarya09 Manavarya09 merged commit be45b98 into main Apr 15, 2026
0 of 4 checks passed
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.

1 participant