Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: prepare 0.6.0 release #867

Merged
merged 2 commits into from
Nov 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions crates/tabby/src/serve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ use std::{sync::Arc, time::Duration};

use axum::{routing, Router};
use clap::Args;
use hyper::StatusCode;
use tabby_common::{
api,
api::{code::CodeSearch, event::EventLogger},
Expand Down Expand Up @@ -192,6 +193,13 @@ async fn api_router(
config.server.completion_timeout,
)))
});
} else {
routers.push({
Router::new().route(
"/v1/completions",
routing::post(StatusCode::NOT_IMPLEMENTED),
)
})
}

if let Some(chat_state) = chat_state {
Expand All @@ -201,6 +209,13 @@ async fn api_router(
routing::post(routes::chat_completions).with_state(chat_state),
)
})
} else {
routers.push({
Router::new().route(
"/v1beta/chat/completions",
routing::post(StatusCode::NOT_IMPLEMENTED),
)
})
}

routers.push({
Expand Down
2 changes: 1 addition & 1 deletion ee/tabby-webserver/ui/404.html

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions ee/tabby-webserver/ui/_next/static/chunks/431-7ea9c8ff0df11123.js

Large diffs are not rendered by default.

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading