Hugh Brown
Hugh Brown
https://github.com/biobootloader/wolverine/blob/2f5a026ff96971a4c00491ad628fae6b7e1c503c/wolverine.py#L36-L40 if you pass `encoding='utf-8'` to `subprocess.run`, your strings are automatically decoded: ``` >>> s = subprocess.run("/bin/echo 'hello'".split(" "), stdout=subprocess.PIPE) >>> s.stdout b"'hello'\n" >>> s = subprocess.run("/bin/echo 'hello'".split(" "), stdout=subprocess.PIPE,...
**Problem** Application panics with message: ``` Running `/Users/hughbrown/workspace/hughdbrown/rust/example-projects/target/debug/image_generator_open_ai` thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error("missing field `created`", line: 8, column: 1)', image_generator_open_ai/src/main.rs:127:66 ``` **Steps To Reproduce**...
Hilary, Have a try with the modified code and see if it works against your data. Hugh
The code presented is a mixture of argument parsing, code generation, writing to file. Most of the logic here could be replaced by use of the python template library, `jinja2`.
**Describe the bug** chainlit sets up the logging for the application it is in. A library should not do this. **To Reproduce** If you import chainlit first: ``` >>> import...