-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Solving the cli start --character parameter doesn't work, and fixed plugin-solana issue. #4016
Conversation
…d error logging for plugin loading failures and file loading issues. Enhanced character loading with better path resolution. Updated task service to ensure runtime adapter readiness before execution. Refactored SOL address handling in plugin actions to use environment variables.
WalkthroughThis pull request updates error handling and control flow across several packages. In the CLI, the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant CLI as CLI Command
participant SA as startAgents
participant SAT as startAgent
participant Logger
User->>CLI: Initiate start command
CLI->>SA: Call startAgents(options)
alt options.character provided
SA->>SAT: Call startAgent(options.character)
SAT-->>Logger: Log error if plugin fails to load
SA->>SA: Initialize new agent (empty plugins, no init)
else Default character used
SA->>SAT: Call startAgent(defaultCharacter)
end
sequenceDiagram
participant Caller
participant TS as TaskService
participant Logger
Caller->>TS: Call start(runtime)
alt runtime missing
TS-->>Caller: Throw error "Runtime is required"
else runtime provided
TS->>TS: Execute checkTasks()
alt adapter missing
TS-->>Logger: Log warning "runtime adapter not ready"
TS-->>TS: Return early from task checks
else adapter present
TS->>TS: Continue task processing
end
end
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
Please review this manually. Thanks. |
Tip For best results, initiate chat on the files or code changes. @wtfsayo I'll trigger a full review and summary regeneration for this PR right away. This will ensure all changes are thoroughly examined regardless of previous review status. The review will analyze the code changes across all modified files, and a new comprehensive summary will be generated to highlight the key modifications and their implications. ✅ Actions performedFull review and summary regeneration triggered.
|
fixed in; #4083 |
Solving the cli start --character parameter doesn't work
Refactored SOL address handling in plugin-solana actions to use environment variables since no settings exported.
Updated task service to ensure runtime adapter readiness before execution if no plugin-sql.
Summary by CodeRabbit