mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-30 06:30:43 +00:00
big progress checkin. Still quite broken, but now it shows the new direction. Time to start hooking things up again.
This commit is contained in:
parent
20a0cd2f66
commit
f9133b5a61
12 changed files with 228 additions and 364 deletions
|
@ -7,7 +7,9 @@ func NewLocalAINetHTTPServer(configManager *ConfigManager) *LocalAIServer {
|
|||
configManager: configManager,
|
||||
}
|
||||
|
||||
http.Handle("/", Handler(&localAI))
|
||||
var middlewares []StrictMiddlewareFunc
|
||||
|
||||
http.Handle("/", Handler(NewStrictHandler(&localAI, middlewares)))
|
||||
|
||||
http.ListenAndServe(":8085", nil)
|
||||
return &localAI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue