Skip to content

Commit ab7b4d5

Browse files
authored
[Refactor]: Core/API Split (#1506)
Refactors api folder to core, creates firm split between backend code and api frontend.
1 parent bcf0244 commit ab7b4d5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+3425
-3101
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ LocalAI
1919
local-ai
2020
# prevent above rules from omitting the helm chart
2121
!charts/*
22-
# prevent above rules from omitting the api/localai folder
23-
!api/localai
22+
# prevent above rules from omitting the core/**/localai folder
23+
!core/**/localai
2424

2525
# Ignore models
2626
models/*

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ ENV NVIDIA_VISIBLE_DEVICES=all
8888
WORKDIR /build
8989

9090
COPY . .
91-
COPY .git .
91+
COPY .git/ .git/
9292
RUN make prepare
9393

9494
# stablediffusion does not tolerate a newer version of abseil, build it first

api/api.go

Lines changed: 0 additions & 302 deletions
This file was deleted.

api/backend/image.go

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)