Skip to content

chore: gitignore __pycache__ and config files with API keys - #42

Merged
JNK234 merged 1 commit into
mainfrom
chore/gitignore-cleanup
Apr 8, 2026
Merged

JNK234 merged 1 commit into
mainfrom
chore/gitignore-cleanup

Conversation

@JNK234

@JNK234 JNK234 commented Apr 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add __pycache__/ and *.pyc to .gitignore
  • Add patterns for config files containing real API keys (*-config-with-keys*, *-with-keys*) to prevent accidental commits

Context

Local testing configs with API keys and Python cache directories were showing up in git status. This keeps them out of version control.

@JNK234
JNK234 merged commit 6c16b77 into main Apr 8, 2026
3 checks passed
JNK234 added a commit that referenced this pull request Aug 13, 2026
color-sharing failed on setup: it passed "demos/config" to llm:load-config,
which resolves against the model's own directory first, so the lookup became
demos/color-sharing/demos/config and never matched.

Three naming conventions were in use across five demos. config.txt is the
majority convention, so the two extensionless files are renamed to match --
that name was also the blocker on #61, where the baba-is-ai Models Library
submission was rejected over it.

- rename demos/baba-is-ai/config and demos/provider-sensitivity/config
- point color-sharing at config.txt
- track demos/color-sharing/config.txt, which existed locally but was never
  committed, so a fresh clone got a broken demo even with the path fixed
- add .gitignore negations so the config-*.txt pattern from #42 does not
  swallow them
- update the baba-is-ai README and Info tab, which still named the old file

All configs carry placeholder keys or local Ollama endpoints; no secrets
added. Verified: all three models compile headless against NetLogo 7.0.3.

Closes #66.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant