test: added integration tests for inter-feature interactions like RAG + Agents, function calling/MCP servers, etc.
This commit is contained in:
+5
-1
@@ -1280,7 +1280,11 @@ mod tests {
|
||||
];
|
||||
for ext in known {
|
||||
let seps = get_separators(ext);
|
||||
assert_ne!(seps, DEFAULT_SEPARATORS.to_vec(), "Extension '{ext}' should have language-specific separators");
|
||||
assert_ne!(
|
||||
seps,
|
||||
DEFAULT_SEPARATORS.to_vec(),
|
||||
"Extension '{ext}' should have language-specific separators"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -171,7 +171,6 @@ impl RecursiveCharacterTextSplitter {
|
||||
}
|
||||
}
|
||||
|
||||
// Now that we have the separator, split the text
|
||||
let splits = split_on_separator(text, &separator, keep_separator);
|
||||
|
||||
// Now go merging things, recursively splitting longer texts.
|
||||
|
||||
Reference in New Issue
Block a user