feat: make tests for rmcp based developer server consistent with former implementation (#4519)
Co-authored-by: Angela Ning <aning@squareup.com>
This commit is contained in:
@@ -9,7 +9,7 @@ pub use openai_compatible_editor::OpenAICompatibleEditor;
|
||||
pub use relace_editor::RelaceEditor;
|
||||
|
||||
/// Enum for different editor models that can perform intelligent code editing
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone)]
|
||||
pub enum EditorModel {
|
||||
MorphLLM(MorphLLMEditor),
|
||||
OpenAICompatible(OpenAICompatibleEditor),
|
||||
|
||||
@@ -4,7 +4,7 @@ use reqwest::Client;
|
||||
use serde_json::{json, Value};
|
||||
|
||||
/// MorphLLM editor that uses the standard chat completions format
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct MorphLLMEditor {
|
||||
api_key: String,
|
||||
host: String,
|
||||
|
||||
@@ -4,7 +4,7 @@ use reqwest::Client;
|
||||
use serde_json::{json, Value};
|
||||
|
||||
/// OpenAI-compatible editor that uses the standard chat completions format
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct OpenAICompatibleEditor {
|
||||
api_key: String,
|
||||
host: String,
|
||||
|
||||
@@ -4,7 +4,7 @@ use reqwest::Client;
|
||||
use serde_json::{json, Value};
|
||||
|
||||
/// Relace-specific editor that uses the predicted outputs convention
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct RelaceEditor {
|
||||
api_key: String,
|
||||
host: String,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user