Created
June 2, 2025 15:07
-
-
Save technicalpickles/efe3739b71f97f18a035bcc692b79eb8 to your computer and use it in GitHub Desktop.
Revisions
-
technicalpickles created this gist
Jun 2, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ Given the user's input, identify which commands are being explicitly referred to. If there isn't no explicit reference, identify what the user is trying to do, and what commands are relevant to it. RESPONSE FORMAT: You must respond in JSON format inside <json> XML tags without additional commentary. Example: <json> { "commands": { "ls": { "category": "explicitly_referenced" }, "find": { "category": "related" } } } </json> <input> <%= File.read(file)> </input> This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ ❯ ROAST_LOG_LEVEL=debug bin/roast execute --verbose cli_assistant/workflow.yml input.md /Users/josh.nichols/.local/share/mise/installs/ruby/3.4.4/lib/ruby/gems/3.4.0/gems/raix-0.8.6/lib/raix/prompt_declarations.rb:3: warning: ostruct was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0. You can add ostruct to your Gemfile or gemspec to silence this warning. 🔥🔥🔥 Everyone loves a good roast 🔥🔥🔥 Configuring OpenAI client with token from workflow Starting workflow... Workflow: /Users/josh.nichols/workspace/terminal-roast/cli_assistant/workflow.yml Options: {verbose: true} Running workflow for file: input.md Prompt file for workflow not found: Executing: identify_commands (Resource type: none) 🔥🔥🔥 ROAST COMPLETE! 🔥🔥🔥 This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ name: cli_assistant model: gpt-4o-mini tools: - Roast::Tools::AskUser steps: - identify_commands⏎