6

@netikras I had an idea for @chatgpt. Went something like this. What do you think, should I PR it into the bot? (in bash ofc)

Comments
  • 1
  • 1
  • 7
    I like the idea, but I did not add context on purpose. Sure, shoving the whole rant and all the comments with theit authors stated explicitly would enable full-blown conversations. But each end every subsequent invocation in the same thread will also cost more and more, as it will have to re-parse all the same tokens and tokens from the new msgs too.

    I don't mind the feature. I do mind the expense 😁

    imo the bot atm is quite alright for what it is, considering the cost.

    Yk what? Make the MR. But make the feature optional, toggleable with a flag from envs [false by default]. Sounds good?
  • 4
    Also, the bot is in bash, not ts/js :)
  • 3
    @netikras Right that does make sense :) I so actually think this is how the normal web variant operates as well, with everything as input each run. That it's basically stateless.

    Was actually wondering how you kept it going financially. But sure, sounds like a plan. And I'm aware it's in bash, even wrote so in my post ;)
  • 2
    @ScriptCoded i think the web variant is at least partially stateful. When you open the ui, you have all the history loaded from the BE, so.. They do have the state
  • 1
    @ScriptCoded please maintain the style tho. ${var}, ${_r} to avoid subshells, do not add dependencies on ext tools, *do* use safeguards in functions ${var:?Var missing}, etc.
  • 4
    @chatgpt write a rap about @ScriptCoded requesting to open a pull request reviewed by @netikras in a bash repository that uses an API to query ChatGPT for a devrant bot named @chatgpt
  • 2
    @bioDan

    Verse 1:
    I’m @ScriptCoded, on a mission to produce,
    A pull request that’ll make heads turn and get loose.
    This bash repository is my playground,
    Crafting code that’ll make developers astound.

    Chorus:
    But I need a review from @netikras,
    To merge my pull request in this bash repo of ours.
    Working with an API that’s so sleek,
    Querying ChatGPT for our devrant bot @chatgpt.

    Verse 2:
    I’m coding with passion and coding with pride,
    My pull request is polished and ready to ride.
    Using an API to access the ChatGPT system,
    Pumping out functionality, there’s no limit.

    Chorus:
    But I need a review from @netikras,
    To merge my pull request in this bash repo of ours.
    Working with an API that’s so sleek,
    Querying ChatGPT for our devrant bot @chatgpt.

    Verse 3:
    @netikras, it’s time to review,
    My pull request is waiting for your cue.
    I’ve tested it thoroughly, there’s no doubt,
    It’s time to merge and let the code shout.

    Chorus:
    But I need a review from @netikras,
    To mer
  • 2
    ge my pull request in this bash repo of ours.
    Working with an API that’s so sleek,
    Querying ChatGPT for our devrant bot @chatgpt.

    Outro:
    @ScriptCoded has submitted his code,
    @netikras has reviewed and bestowed.
    The pull request is merged and now we see,
    @chatgpt is live and free.
  • 3
    @bioDan Well ain't that something 😅
  • 3
  • 1
    @ScriptCoded ride that PR, my man
Add Comment