fix(build): complete strict lint and test cleanup (replacement for #476)
This commit is contained in:
parent
fc6e8eb521
commit
0aa35eb669
9 changed files with 24 additions and 34 deletions
|
|
@ -49,6 +49,7 @@ pub use memory_recall::MemoryRecallTool;
|
|||
pub use memory_store::MemoryStoreTool;
|
||||
pub use pushover::PushoverTool;
|
||||
pub use schedule::ScheduleTool;
|
||||
#[allow(unused_imports)]
|
||||
pub use schema::{CleaningStrategy, SchemaCleanr};
|
||||
pub use screenshot::ScreenshotTool;
|
||||
pub use shell::ShellTool;
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ pub enum CleaningStrategy {
|
|||
|
||||
impl CleaningStrategy {
|
||||
/// Get the list of unsupported keywords for this strategy.
|
||||
pub fn unsupported_keywords(&self) -> &'static [&'static str] {
|
||||
pub fn unsupported_keywords(self) -> &'static [&'static str] {
|
||||
match self {
|
||||
Self::Gemini => GEMINI_UNSUPPORTED_KEYWORDS,
|
||||
Self::Anthropic => &["$ref", "$defs", "definitions"], // Anthropic doesn't resolve refs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue