mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-13 08:52:02 +00:00
fix: keep relocated Python and Rust imports formatted
This commit is contained in:
parent
9a68b3a1f2
commit
7601e0b209
3 changed files with 4 additions and 4 deletions
|
|
@ -6,6 +6,7 @@ from datetime import datetime, timezone
|
|||
from typing import TYPE_CHECKING, Final
|
||||
|
||||
import packaging
|
||||
|
||||
from litellm.llms.anthropic.common_utils import tool_calls_with_server_tool_calls
|
||||
|
||||
if TYPE_CHECKING:
|
||||
|
|
|
|||
|
|
@ -225,8 +225,8 @@ async fn unknown_logo_theme_is_rejected_in_the_ui_envelope(dashboard: App) {
|
|||
#[case::monogram_dark("/get_image?theme=dark&variant=monogram")]
|
||||
#[tokio::test]
|
||||
async fn committed_dashboard_export_serves_every_logo(#[case] path: &str) {
|
||||
let export = std::path::Path::new(env!("CARGO_MANIFEST_DIR"))
|
||||
.join("../../../proxy/_experimental/out");
|
||||
let export =
|
||||
std::path::Path::new(env!("CARGO_MANIFEST_DIR")).join("../../../proxy/_experimental/out");
|
||||
let response = litellm_gateway_ui::dashboard_assets(export)
|
||||
.oneshot(Request::get(path).body(Body::empty()).unwrap())
|
||||
.await
|
||||
|
|
|
|||
|
|
@ -520,8 +520,7 @@ impl litellm_host_python::ExecutionBody for Preparing {
|
|||
|
||||
fn lifecycle(py: Python<'_>) -> PyResult<Bound<'_, PyModule>> {
|
||||
let source =
|
||||
std::ffi::CString::new(include_str!("../../../../rust_bridge/execution.py"))
|
||||
.unwrap();
|
||||
std::ffi::CString::new(include_str!("../../../../rust_bridge/execution.py")).unwrap();
|
||||
PyModule::from_code(py, &source, c"execution.py", c"hook_chain_test_lifecycle")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue