mit einem Klick
run-tests
// Run Prompture's test suite with the correct pytest flags. Supports unit-only, integration, single file, single test, verbose, and credential-skip modes. Use when running or debugging tests.
// Run Prompture's test suite with the correct pytest flags. Supports unit-only, integration, single file, single test, verbose, and credential-skip modes. Use when running or debugging tests.
Update LLM model pricing in Prompture. Pricing resolves through a pluggable source registry — by default local KB JSON files (primary, curated) then models.dev (fallback). Use when model prices change, new models launch, models.dev data is stale, or you need to add a custom pricing source.
Scaffold a new LLM provider driver for Prompture. Creates sync + async driver classes, registers them in the driver registry, adds settings, env template, setup.py extras, package exports, discovery integration, and models.dev pricing. Use when adding support for a new LLM provider.
Create a new Prompture usage example script. Follows project conventions for file naming, section structure, docstrings, and output formatting. Use when demonstrating extraction use cases or provider integrations.
Create reusable persona system prompts for Prompture. Covers Persona dataclass, template variables, composition, trait registry, global registry, serialization, and Conversation integration. Use when defining system prompts for extraction or agent behavior.
Add function-calling tools to Prompture agents. Covers ToolDefinition, ToolRegistry, tool_from_function, decorator patterns, serialization formats, and Conversation integration. Use when adding callable tools for LLM function calling.
Add predefined field definitions to the Prompture field registry. Handles field structure, categories, template variables, enum support, and thread-safe registration. Use when adding reusable extraction fields.
| name | run-tests |
| description | Run Prompture's test suite with the correct pytest flags. Supports unit-only, integration, single file, single test, verbose, and credential-skip modes. Use when running or debugging tests. |
| metadata | {"author":"prompture","version":"1.0"} |
| Intent | Command |
|---|---|
| All unit tests | pytest tests/ -x -q |
| Include integration tests | pytest tests/ --run-integration -x -q |
| Specific file | pytest tests/{file}.py -x -q |
| Specific class | pytest tests/{file}.py::{Class} -x -q |
| Specific test | pytest tests/{file}.py::{Class}::{test} -x -q |
| Verbose output | Replace -q with -v |
| Show print output | Add -s |
| Pattern match | Add -k "pattern" |
| Skip missing credentials | TEST_SKIP_NO_CREDENTIALS=true pytest tests/ --run-integration -x -q |
| Legacy runner | python test.py |
-x stop on first failure-q quiet (dots + summary)-v verbose (each test name)-s show stdout/stderr--run-integration include @pytest.mark.integration testsprompture/