mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-08 20:25:19 +02:00
feat: added configable summary calculation and various improvements
- Replaced direct embedding calls with a utility function across various components to streamline embedding logic. - Added enable_summary flag to several models and routes to control summary generation behavior.
This commit is contained in:
parent
dc33a4a68f
commit
e9892c8fe9
50 changed files with 380 additions and 298 deletions
|
|
@ -29,4 +29,7 @@ if __name__ == "__main__":
|
|||
config = uvicorn.Config(**config_kwargs)
|
||||
server = uvicorn.Server(config)
|
||||
|
||||
server.run()
|
||||
if sys.platform == "win32":
|
||||
asyncio.run(server.serve(), loop_factory=asyncio.SelectorEventLoop)
|
||||
else:
|
||||
server.run()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue