- Renamed `execute_compact_prompt` to `compact_prompt_for_bots` and simplified logic - Removed redundant comments and empty lines in test files - Consolidated prompt compaction threshold handling - Cleaned up UI logging implementation by removing unnecessary whitespace - Improved code organization in ui_tree module The changes focus on code quality improvements, removing clutter, and making the prompt compaction logic more straightforward. Test files were cleaned up to be more concise.
15 lines
332 B
Rust
15 lines
332 B
Rust
#[cfg(test)]
|
|
mod tests {
|
|
use super::*;
|
|
use crate::tests::test_util;
|
|
#[test]
|
|
fn test_context_module() {
|
|
test_util::setup();
|
|
assert!(true, "Basic context module test");
|
|
}
|
|
#[test]
|
|
fn test_langcache() {
|
|
test_util::setup();
|
|
assert!(true, "Langcache placeholder test");
|
|
}
|
|
}
|