huskies: merge 927
This commit is contained in:
@@ -182,6 +182,7 @@ impl ClaudeCodeProvider {
|
||||
/// via `--permission-prompt-tool`. Claude Code calls the MCP tool when it
|
||||
/// needs user approval, and the server bridges the request to the frontend.
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[allow(clippy::string_slice)] // end is walked to a char boundary before slicing &trimmed[..end]
|
||||
fn run_pty_session(
|
||||
user_message: &str,
|
||||
cwd: &str,
|
||||
|
||||
@@ -43,6 +43,7 @@ impl OllamaProvider {
|
||||
}
|
||||
|
||||
/// Streaming chat that calls `on_token` for each token chunk.
|
||||
#[allow(clippy::string_slice)] // newline_pos from find('\n'); '\n' is ASCII so pos and pos+1 are valid
|
||||
pub async fn chat_stream<F>(
|
||||
&self,
|
||||
model: &str,
|
||||
|
||||
Reference in New Issue
Block a user