9dfe000f2d
- Rename get_current_user to get_current_user_id in auth/deps.py to clarify intent - Remove legacy /me, /logout routes, and placeholder function from auth/__init__.py - Remove dependency_overrides from app/main.py - Update CustomContext to resolve and cache full User objects via db query
32 lines
541 B
YAML
32 lines
541 B
YAML
config:
|
||
path_mode: relative
|
||
|
||
prompts:
|
||
preset: "下面的代码来自项目相对路径 {{path}}:\n---\n{{content}}"
|
||
|
||
preset:
|
||
auth:
|
||
- "auth/*"
|
||
|
||
s3:
|
||
- "app/models/base.py"
|
||
- "app/models/user.py"
|
||
- "app/utils/s3.py"
|
||
- "auth.py"
|
||
|
||
db_model:
|
||
- "app/models/*"
|
||
- "app/db.py"
|
||
- "app/main.py"
|
||
|
||
graphql:
|
||
- "app/graphql/*"
|
||
- "app/main.py"
|
||
|
||
get_current_user:
|
||
- "app/main.py"
|
||
- "auth/__init__.py"
|
||
- "auth/deps.py"
|
||
- "auth/tokens.py"
|
||
- "auth/oauth/google.py"
|
||
- "app/graphql/*" |