chore: clean up dead code, fix broken test

- Remove unused methods: append_response_text, clear_response,
  has_pending_function_calls, take_function_calls
- Add #[allow(dead_code)] for intentionally kept future-use methods
  and response modification helpers
- Remove unused now_unix import from gemini.rs
- Fix test_modify_strips_all_tools: tools key is removed entirely
  when no custom tools provided, not left as empty array
- Zero warnings, 32 tests passing
This commit is contained in:
Nikketryhard
2026-02-15 01:14:51 -06:00
parent 981fb3b18d
commit 735c3e357d
4 changed files with 13 additions and 41 deletions

View File

@@ -14,7 +14,7 @@ use tracing::info;
use super::models::{lookup_model, DEFAULT_MODEL, MODELS};
use super::polling::poll_for_response;
use super::util::{err_response, now_unix};
use super::util::err_response;
use super::AppState;
use crate::mitm::store::PendingToolResult;