Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

chore: debug #815

Closed
wants to merge 2 commits into from
Closed

chore: debug #815

wants to merge 2 commits into from

Conversation

Keyrxng
Copy link
Member

@Keyrxng Keyrxng commented Sep 23, 2023

something aint right with config

Resolves #

Quality Assurance:

something aint right with config
@netlify
Copy link

netlify bot commented Sep 23, 2023

Deploy Preview for ubiquibot-staging ready!

Name Link
🔨 Latest commit 8a855e9
🔍 Latest deploy log https://app.netlify.com/sites/ubiquibot-staging/deploys/650f1cd7bf43750008782b3a
😎 Deploy Preview https://deploy-preview-815--ubiquibot-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

all commands active
@Keyrxng
Copy link
Member Author

Keyrxng commented Sep 23, 2023

@pavlovcik @0xcodercrane

@Keyrxng Keyrxng mentioned this pull request Sep 23, 2023
@Keyrxng
Copy link
Member Author

Keyrxng commented Sep 23, 2023

Just ran /start and got a max active on this repo, so idk what it is I've got wrong here as I've pulled fresh from development to debug /ask.

@Keyrxng
Copy link
Member Author

Keyrxng commented Sep 23, 2023

idk where I'm going wrong.

I do know that:

  • I have no repo config or org config

But the bot should be able to run on it's own default config if those other two fail surely?

@0x4007
Copy link
Member

0x4007 commented Sep 23, 2023

But the bot should be able to run on it's own default config if those other two fail surely?

It's supposed to be able to do that yes

@Keyrxng
Copy link
Member Author

Keyrxng commented Sep 23, 2023

/help

export const generateHelpMenu = () => {
  let helpMenu = "### Available commands\n```";
  const commands = userCommands();
  commands.map((command) => {

/ask not being displayed in the help table despite looping through all commands despite being in commands:

" ASK = "/ask", // ask GPT a question"

@0x4007
Copy link
Member

0x4007 commented Sep 23, 2023

Your code is probably out of date. Pull upstream

@0x4007
Copy link
Member

0x4007 commented Sep 23, 2023

/help

@ubiquibot
Copy link

ubiquibot bot commented Sep 23, 2023

Available commands

- /start: Assign the origin sender to the issue automatically.
- /stop: Unassign the origin sender from the issue automatically.
- /help: List all available commands.
- /autopay: Toggle automatic payment for the completion of the current issue.
- /query: Comments the users multiplier and address
- /ask: Ask a technical question to the Ubiquity AI. 
  example usage: "/ask How do I do X?"
- /multiplier: Set the bounty payout multiplier for a specific contributor, and provide the reason for why. 
  example usage: "/wallet @user 0.5 'Multiplier reason'"
- /allow: Set access control. (Admin Only)
- /wallet: <WALLET_ADDRESS | ENS_NAME>: Register the hunter's wallet address. 
  ex1: /wallet 0x0000000000000000000000000000000000000000
  ex2: /wallet vitalik.eth

@Keyrxng
Copy link
Member Author

Keyrxng commented Sep 23, 2023

I'm up to date otherwise there would be a notification on this pr to update to current commit and my branch is 100% up to date just pulled earlier and double checked right there... wtf

@Keyrxng
Copy link
Member Author

Keyrxng commented Sep 23, 2023

Not sure what to do here.

I can't refork the repo I'd need to delete first and lose my current work.

I'm 100% up to date with the current dev branch.

I have to figure out setting up an organization to get around the default config issue atm to be able to debug the actual bot.

If your help command is showing ask, and your getting rate limited with tokens then it's registering as a command.

I noticed during my trials that if I spammed an /ask on two repos before the first had finalized one or both was likely to fail.

So it may be a good issue to have raised to create a queue for gpt requests (I'd say to the same api key as that's probs the blocker but likely there will only ever be one api in use for folks)

But why it's currently silently failing is beyond me at the minute from what I can see myself.

I was certain that it was returning an error or at least logging one for every path, would you be able to check your logs for me pav? Was anything registered at all when invoking /ask earlier?

Copy link
Member

Choose a reason for hiding this comment

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

These need to be off by default

@0x4007
Copy link
Member

0x4007 commented Sep 23, 2023

I couldn't find logs related to it that's why I filed the issue but I could add you to the Supabase project if you dm me your Supabase account email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants