chore: remove env files and update gitignore for python

Remove sensitive environment files from repository tracking and add comprehensive Python ignore patterns including virtual environments, cache files, and environment variables. Also clean up staged __pycache__ binary files.
This commit is contained in:
“ydy0615”
2026-02-16 09:01:08 +08:00
parent 075eded2ba
commit 9b37ca42d6
8 changed files with 17 additions and 6 deletions

2
.env
View File

@@ -1,2 +0,0 @@
VITE_API_URL=/v1/completions
VITE_OCR_URL=/v1/ocr

17
.gitignore vendored
View File

@@ -12,6 +12,23 @@ dist
dist-ssr
*.local
# Python
__pycache__/
*.py[cod]
*.pyc.*
.python-version
.venv/
venv/
env/
.pytest_cache/
.mypy_cache/
.ruff_cache/
# Env files
.env
.env.*
!.env.example
# Editor directories and files
.vscode/*
!.vscode/extensions.json

View File

@@ -1,4 +0,0 @@
OPENAI_API_KEY=ollama
OLLAMA_HOST=http://192.168.0.120:11434
OLLAMA_MODEL=gpt-oss:20b
VLM_MODEL=qwen3-vl:30b