Skip to content

Commit

Permalink
fix: cleanups; lint warnings fail CI (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
nirga authored Nov 15, 2024
1 parent 2d69d31 commit ee4f524
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 115 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Check formatting
run: cargo fmt --check
- name: Check clippy
run: cargo clippy --verbose
run: cargo clippy -- -D warnings
- name: Build
run: cargo build --verbose
- name: Run tests
Expand Down
3 changes: 0 additions & 3 deletions src/pipelines/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
pub mod pipeline;
pub mod plugin;
pub mod plugins;
pub mod services;
2 changes: 1 addition & 1 deletion src/pipelines/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub fn create_pipeline(pipeline: &Pipeline, model_registry: &ModelRegistry) -> R
};
}

return router.with_state(Arc::new(model_registry.clone()));
router.with_state(Arc::new(model_registry.clone()))
}

pub async fn chat_completions(
Expand Down
67 changes: 0 additions & 67 deletions src/pipelines/plugin.rs

This file was deleted.

20 changes: 0 additions & 20 deletions src/pipelines/plugins/logging.rs

This file was deleted.

2 changes: 0 additions & 2 deletions src/pipelines/plugins/mod.rs

This file was deleted.

20 changes: 0 additions & 20 deletions src/pipelines/plugins/tracing.rs

This file was deleted.

1 change: 0 additions & 1 deletion src/pipelines/services/mod.rs

This file was deleted.

0 comments on commit ee4f524

Please sign in to comment.