Commit e15869b
committed
Rename LLM API to Prompt and update routes
Move LLM API implementation and SQL helpers from app/api/llm to app/api/prompt, renaming llm.py to prompt.py and updating function names, route paths (/llm -> /prompt) and docstrings accordingly. Replace deleted app/api/llm/__init__.py with app/api/prompt/__init__.py that exposes the router, and update app/api/routes.py to import and include the new prompt router (remove old llm/gemini imports). SQL migration and helper scripts under llm/sql were relocated to prompt/sql with no functional changes.1 parent 2b51a5c commit e15869b
15 files changed
Lines changed: 13 additions & 15 deletions
File tree
- app/api
- llm
- prompt
- sql
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments