Skip to content

Commit

Permalink
Merge branch 'refs/heads/develop' into 67-embedding-api-poc
Browse files Browse the repository at this point in the history
  • Loading branch information
roma-glushko committed Jun 23, 2024
2 parents 8819af8 + 08ee414 commit b861ffa
Show file tree
Hide file tree
Showing 12 changed files with 69 additions and 18 deletions.
51 changes: 51 additions & 0 deletions .air.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
root = "."
testdata_dir = "testdata"
tmp_dir = "tmp"

[build]
args_bin = ["-c ./config.dev.yaml"]
bin = "./dist/glide"
cmd = "make build"
delay = 1000
exclude_dir = ["assets", "tmp", "vendor", "testdata"]
exclude_file = []
exclude_regex = ["_test.go"]
exclude_unchanged = false
follow_symlink = false
full_bin = ""
include_dir = []
include_ext = ["go", "tpl", "tmpl", "html"]
include_file = []
kill_delay = "0s"
log = "build-errors.log"
poll = false
poll_interval = 0
post_cmd = []
pre_cmd = []
rerun = false
rerun_delay = 500
send_interrupt = false
stop_on_error = false

[color]
app = ""
build = "yellow"
main = "magenta"
runner = "green"
watcher = "cyan"

[log]
main_only = false
time = false

[misc]
clean_on_exit = false

[proxy]
app_port = 0
enabled = false
proxy_port = 0

[screen]
clear_on_rebuild = false
keep_scroll = true
10 changes: 5 additions & 5 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.22"
go-version: "1.22.4"
check-latest: true

- name: Install
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.22"
go-version: "1.22.4"
check-latest: true
- name: Build
run: go build -v ./...
Expand All @@ -70,7 +70,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.22"
go-version: "1.22.4"
check-latest: true

- name: Install nilaway
Expand All @@ -95,7 +95,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.22"
go-version: "1.22.4"
check-latest: true

- name: Test
Expand All @@ -121,7 +121,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.22"
go-version: "1.22.4"
check-latest: true

- name: Generate OpenAPI Schema
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.22
go-version: 1.22.4

- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vuln.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: '1.22.1'
go-version: '1.22.4'
check-latest: true

- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.22
1.22.4
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ vuln: install-checkers ## Check for vulnerabilities
@$(CHECKER_BIN)/gosec -quiet -exclude=G104 ./...

run: ## Run Glide
@go run -ldflags $(LDFLAGS_COMMON) main.go -c ./config.dev.yaml
@air -c .air.toml

build: ## Build Glide
@echo "🔨Building Glide binary.."
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<h1>Glide: Cloud-Native LLM Gateway for Seamless LLMOps</h1>
<a href="https://codecov.io/github/EinStack/glide"><img src="https://codecov.io/github/EinStack/glide/graph/badge.svg?token=F7JT39RHX9" alt="CodeCov" /></a>
<a href="https://discord.gg/pt53Ej7rrc"><img src="https://img.shields.io/discord/1181281407813828710" alt="Discord" /></a>
<a href="https://glide.einstack.ai/"><img src="https://img.shields.io/badge/build-view-violet%20?style=flat&logo=books&label=docs&link=https%3A%2F%2Fglide.einstack.ai%2F" alt="Glide Docs" /></a>
<a href="https://docs.einstack.ai/glide/"><img src="https://img.shields.io/badge/build-view-violet%20?style=flat&logo=books&label=docs&link=https%3A%2F%2Fglide.einstack.ai%2F" alt="Glide Docs" /></a>
<a href="https://github.com/EinStack/glide/blob/main/LICENSE"><img src="https://img.shields.io/github/license/EinStack/glide.svg?style=flat-square&color=%233f90c8" alt="License" /></a>
<a href="https://artifacthub.io/packages/helm/einstack/glide"><img src="https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/einstack" alt="ArtifactHub" /></a>
<a href="https://app.fossa.com/projects/git%2Bgithub.com%2FEinStack%2Fglide?ref=badge_shield"><img src="https://app.fossa.com/api/projects/git%2Bgithub.com%2FEinStack%2Fglide.svg?type=shield" alt="FOSSA Status" /></a>
Expand All @@ -26,7 +26,7 @@ model failover, caching, key management, etc.

<img src="docs/images/marketecture.svg" />

Check out our [documentation](https://glide.einstack.ai)!
Check out our [documentation](https://docs.einstack.ai/glide/)!

## Features

Expand Down Expand Up @@ -108,7 +108,7 @@ Finally, Glide comes with OpenAPI documentation that is accessible via http://12

That's it 🙌

Use [our documentation](https://glide.einstack.ai) to further learn about Glide capabilities and configs.
Use [our documentation](https://docs.einstack.ai/glide/) to further learn about Glide capabilities and configs.

---

Expand Down Expand Up @@ -217,7 +217,7 @@ To let you work with Glide's API with ease, we are going to provide you with SDK

Routers are a core functionality of Glide. Think of routers as a group of models with some predefined logic. For example, the resilience router allows a user to define a set of backup models should the initial model fail. Another example, would be to leverage the least-latency router to make latency sensitive LLM calls in the most efficient manner.

Detailed info on routers can be found [here](https://glide.einstack.ai/essentials/routers).
Detailed info on routers can be found [here](https://docs.einstack.ai/glide/docs/routers).

#### Available Routers

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/EinStack/glide

go 1.22.1
go 1.22.4

require (
github.com/aws/aws-sdk-go-v2 v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion images/alpine.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1
FROM golang:1.22-alpine as build
FROM golang:1.22.4-alpine as build

ARG VERSION
ARG COMMIT
Expand Down
2 changes: 1 addition & 1 deletion images/distroless.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1
FROM golang:1.22-alpine as build
FROM golang:1.22.4-alpine as build

ARG VERSION
ARG COMMIT
Expand Down
2 changes: 1 addition & 1 deletion images/redhat.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1
FROM golang:1.22-alpine as build
FROM golang:1.22.4-alpine as build

ARG VERSION
ARG COMMIT
Expand Down
2 changes: 1 addition & 1 deletion images/ubuntu.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1
FROM golang:1.22-alpine as build
FROM golang:1.22.4-alpine as build

ARG VERSION
ARG COMMIT
Expand Down

0 comments on commit b861ffa

Please sign in to comment.