AbanteAI / rawdog

Generate and auto-execute Python scripts in the cli
Apache License 2.0
1.75k stars 134 forks source link

Add config to make --dry-run default #49

Closed DavidDworetzky closed 4 months ago

DavidDworetzky commented 4 months ago

In environments where I might be recommending this tool to others - I'd feel better having the safer option be the default. Is there a setting for this currently, or would we have to add a flag/config?

biobootloader commented 4 months ago

We could add a default_dry_run optional flag to the config!

granawkins commented 4 months ago

With #59, you can now set dry-run to default by modifying ~/.rawdog.config.yaml, after you've opened rawdog once and generated it. e.g:

llm_api_key: ...
llm_base_url: https://api.openai.com/v1
llm_custom_provider: null
llm_model: gpt-4-turbo
llm_temperature: '1'
dry_run: True