Skip to content

Conversation

@wolfdancer
Copy link
Owner

No description provided.

@wolfdancer wolfdancer linked an issue Apr 5, 2025 that may be closed by this pull request
@wolfdancer wolfdancer requested a review from Copilot April 5, 2025 23:33
@wolfdancer wolfdancer self-assigned this Apr 5, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

src/innieme/discord_bot.py:162

  • Inside the loop iterating over 'topic.config.channels', this line reassigns 'channel' to the first element in the list, which results in only that channel being processed. Remove or modify this assignment to correctly use the loop variable.
channel = topic.config.channels[0]

@wolfdancer wolfdancer requested a review from Copilot April 5, 2025 23:35
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (2)

src/innieme/document_processor.py:67

  • The updated scan_and_vectorize method now requires a 'topic_name' parameter; please ensure all invocations are adjusted or consider providing a default if backward compatibility is needed.
async def scan_and_vectorize(self, topic_name:str) -> str:

src/innieme/discord_bot.py:185

  • Confirm that topic.scan_and_vectorize() correctly passes the intended topic name, as the updated signature in DocumentProcessor requires it; consider explicitly providing the topic name to avoid runtime errors.
scanning_result = await topic.scan_and_vectorize()

@wolfdancer wolfdancer requested a review from Copilot April 5, 2025 23:38
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

src/innieme/discord_bot.py:185

  • scan_and_vectorize now requires a 'topic_name' argument. Consider updating this call to pass topic.config.name or an appropriate identifier to ensure consistency with the updated signature.
scanning_result = await topic.scan_and_vectorize()

@wolfdancer wolfdancer merged commit 3b6509c into main Apr 5, 2025
1 check passed
@wolfdancer wolfdancer deleted the 17-make-one-bot-work-for-multiple-servers branch April 5, 2025 23:39
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.

make one bot work for multiple servers

2 participants