File size: 439 Bytes
101858b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from pathlib import Path

from guidance_sidecar import GuidanceEngine


def main():
    bundle_dir = Path(__file__).resolve().parent
    engine = GuidanceEngine.from_bundle(bundle_dir)
    result = engine.advise(
        task="Add validation to a Python config loader without changing the public API.",
        context="config.py defines a Config class with path defaults.",
    )
    print(result)


if __name__ == "__main__":
    main()