Skip to content

Commit

Permalink
fix: started embedding server
Browse files Browse the repository at this point in the history
  • Loading branch information
lxw665 authored and STRRL committed Apr 9, 2024
1 parent c90ad15 commit c661d52
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cmd/unollm/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ func main() {
if err != nil {
log.Fatalf("failed to listen: %v", err)
}
service := grpcServer.UnoForwardServer{}
model.RegisterUnoLLMv1Server(svr, &service)
forwardService := grpcServer.UnoForwardServer{}
embeddingService := grpcServer.UnoEmbeddingForwardServer{}
model.RegisterUnoLLMv1Server(svr, &forwardService)
model.RegisterUnoEmbeddingv1Server(svr, &embeddingService)
svr.Serve(tcpList)
}

0 comments on commit c661d52

Please sign in to comment.