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:
Alex Hancock
2025-09-04 15:23:45 -04:00
committed by GitHub
parent 9da33504d1
commit b5749d6457
5 changed files with 1032 additions and 504 deletions
@@ -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