forked from open-webui/open-webui
		
	feat: prompts backend frontend integration
This commit is contained in:
		
							parent
							
								
									247414743b
								
							
						
					
					
						commit
						69ff596045
					
				
					 3 changed files with 185 additions and 2 deletions
				
			
		|  | @ -1,7 +1,7 @@ | |||
| from fastapi import FastAPI, Depends | ||||
| from fastapi.routing import APIRoute | ||||
| from fastapi.middleware.cors import CORSMiddleware | ||||
| from apps.web.routers import auths, users, chats, modelfiles, configs, utils | ||||
| from apps.web.routers import auths, users, chats, modelfiles, prompts, configs, utils | ||||
| from config import WEBUI_VERSION, WEBUI_AUTH | ||||
| 
 | ||||
| app = FastAPI() | ||||
|  | @ -23,6 +23,9 @@ app.include_router(auths.router, prefix="/auths", tags=["auths"]) | |||
| app.include_router(users.router, prefix="/users", tags=["users"]) | ||||
| app.include_router(chats.router, prefix="/chats", tags=["chats"]) | ||||
| app.include_router(modelfiles.router, prefix="/modelfiles", tags=["modelfiles"]) | ||||
| app.include_router(prompts.router, prefix="/prompts", tags=["prompts"]) | ||||
| 
 | ||||
| 
 | ||||
| app.include_router(configs.router, prefix="/configs", tags=["configs"]) | ||||
| app.include_router(utils.router, prefix="/utils", tags=["utils"]) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy J. Baek
						Timothy J. Baek