Skip to main content

Auto‑generates AI‑ready debug prompts for failed scenarios

Project description

Vedro Debug Prompt

PyPI PyPI - Downloads Python Version

AI Debug Prompt for Vedro – auto‑generates AI‑friendly Markdown prompts for every failed scenario, ready to paste straight into ChatGPT (or any LLM).

Installation

Quick

For a one‑liner install via Vedro’s plugin manager:

$ vedro plugin install vedro-debug-prompt

Manual

  1. Install the package:
$ pip3 install vedro-debug-prompt
  1. Enable the plugin in vedro.cfg.py:
import vedro
import vedro_debug_prompt

class Config(vedro.Config):
    class Plugins(vedro.Config.Plugins):
        class DebugPrompt(vedro_debug_prompt.DebugPrompt):
            enabled = True

Usage

Run your tests as usual:

vedro run

When a scenario fails you’ll see something like:

 ✗ decode base64 encoded string
   |> AI Debug Prompt: .vedro/tmp/prompt_2ltoa90r.md

⌘‑click (or Ctrl‑click) the path in most terminals to open the file, then paste its contents into your favourite LLM for an instant diagnosis and minimal fix suggestion.

Documentation

Full usage examples and advanced configuration live in the docs:

👉 vedro.io/docs/ai/debug-prompt

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vedro_debug_prompt-0.2.0.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vedro_debug_prompt-0.2.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file vedro_debug_prompt-0.2.0.tar.gz.

File metadata

  • Download URL: vedro_debug_prompt-0.2.0.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for vedro_debug_prompt-0.2.0.tar.gz
Algorithm Hash digest
SHA256 dbf423ba8fd2476a5017cc5d9e13452ad5c9aa42c55bd7de02a4c66d6ef3e9ff
MD5 0094c4904f0e0b5b68863c9cb6e526b3
BLAKE2b-256 a178c13f55757b32304a6192e0a6d0660f9747c0765abedc0ea774f4b1950b87

See more details on using hashes here.

File details

Details for the file vedro_debug_prompt-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for vedro_debug_prompt-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc72768bd519f61ffc12973f09729b56a75cc5595e2f7c8c2e1f22e710877c60
MD5 148739e1592ba2e809b638cf0e8cad93
BLAKE2b-256 d810f90832b2056746dec8c3f3e2170795f2ee632a7d4c270e66e43e7bd6dd1f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page