Skip to content

Commit

Permalink
[Refactor]: Core/API Split (#1506)
Browse files Browse the repository at this point in the history
Refactors api folder to core, creates firm split between backend code and api frontend.
  • Loading branch information
dave-gray101 authored Jan 5, 2024
1 parent bcf0244 commit ab7b4d5
Show file tree
Hide file tree
Showing 77 changed files with 3,425 additions and 3,101 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ LocalAI
local-ai
# prevent above rules from omitting the helm chart
!charts/*
# prevent above rules from omitting the api/localai folder
!api/localai
# prevent above rules from omitting the core/**/localai folder
!core/**/localai

# Ignore models
models/*
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ ENV NVIDIA_VISIBLE_DEVICES=all
WORKDIR /build

COPY . .
COPY .git .
COPY .git/ .git/
RUN make prepare

# stablediffusion does not tolerate a newer version of abseil, build it first
Expand Down
302 changes: 0 additions & 302 deletions api/api.go

This file was deleted.

61 changes: 0 additions & 61 deletions api/backend/image.go

This file was deleted.

Loading

0 comments on commit ab7b4d5

Please sign in to comment.