-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Get tweet cleanup #3237
Get tweet cleanup #3237
Conversation
… as uniswap running into issues and v3 isn't support
…to-create-issue
docs: Update faq.md
chore: Fix Typos and Improve Consistency in Community Chat Logs
docs: Add weekly contributor meeting notes
fix: think tag from venice
feat: Coinbase client
fix: remove address
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 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 (
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
state = await this.runtime.updateRecentMessageState(state); | ||
} | ||
|
||
let context = composeContext({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'context' is never reassigned. Use 'const' instead.
let context = composeContext({ | |
const context = composeContext({ |
throw new Error("Invalid content"); | ||
} | ||
|
||
let content = details.object as OODAContent; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'content' is never reassigned. Use 'const' instead.
let content = details.object as OODAContent; | |
const content = details.object as OODAContent; |
auth: token, | ||
}); | ||
|
||
let issue = await getIssueFromMemories(runtime, message, content.issue); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'issue' is never reassigned. Use 'const' instead.
let issue = await getIssueFromMemories(runtime, message, content.issue); | |
const issue = await getIssueFromMemories(runtime, message, content.issue); |
if (!issue) { | ||
elizaLogger.error("Issue not found in memories"); | ||
|
||
let issueData = await githubService.getIssue(content.issue); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'issueData' is never reassigned. Use 'const' instead.
let issueData = await githubService.getIssue(content.issue); | |
const issueData = await githubService.getIssue(content.issue); |
|
||
elizaLogger.info("Adding comment to pull request in the repository..."); | ||
|
||
let pullRequest = await getPullRequestFromMemories( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'pullRequest' is never reassigned. Use 'const' instead.
let pullRequest = await getPullRequestFromMemories( | |
const pullRequest = await getPullRequestFromMemories( |
message, | ||
content.pullRequest, | ||
); | ||
let pr = await githubService.getPullRequest(content.pullRequest); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'pr' is never reassigned. Use 'const' instead.
let pr = await githubService.getPullRequest(content.pullRequest); | |
const pr = await githubService.getPullRequest(content.pullRequest); |
let position = 0; | ||
let withinHunk = false; | ||
let currentLineInFile = 0; | ||
let lineNum = lineNumber + 3; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'lineNum' is never reassigned. Use 'const' instead.
let lineNum = lineNumber + 3; | |
const lineNum = lineNumber + 3; |
) | ||
.join("\n"); | ||
state.title = content.title; | ||
state.body = content.body.replace(/\n/g, '\\n').replace(/`/g, '\\`'); |
Check failure
Code scanning / CodeQL
Incomplete string escaping or encoding High
|
||
// Detect file header | ||
if (line.startsWith("diff --git")) { | ||
const match = line.match(/a\/(.+) b\/(.+)/); |
Check failure
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
regular expression
library input
This
Relates to
Risks
Background
What does this PR do?
What kind of change is this?
Documentation changes needed?
Testing
Where should a reviewer start?
Detailed testing steps