Rebrand to Galaxy, major improvements to Bedrock support, still needs some TLC though
This commit is contained in:
@@ -3,7 +3,7 @@ use std::borrow::Cow;
|
||||
use async_trait::async_trait;
|
||||
use itertools::Itertools as _;
|
||||
use natural_language_detection::natural_language_words_score;
|
||||
use warp_completer::ParsedTokensSnapshot;
|
||||
use galaxy_completer::ParsedTokensSnapshot;
|
||||
|
||||
use crate::{
|
||||
ClassificationResult, Context, InputClassifier, InputType,
|
||||
@@ -61,7 +61,7 @@ impl InputClassifier for HeuristicClassifier {
|
||||
|
||||
async fn classify_input(
|
||||
&self,
|
||||
input: warp_completer::ParsedTokensSnapshot,
|
||||
input: galaxy_completer::ParsedTokensSnapshot,
|
||||
context: &Context,
|
||||
) -> anyhow::Result<super::ClassificationResult> {
|
||||
let word_tokens = parse_query_into_tokens(input.buffer_text.as_str());
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use warp_completer::util::parse_current_commands_and_tokens;
|
||||
use galaxy_completer::util::parse_current_commands_and_tokens;
|
||||
|
||||
use crate::{Context, test_utils::CompletionContext};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user