File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -415,15 +415,18 @@ pub fn build_context_prompt_for_user(
415415 lines. push ( String :: new ( ) ) ;
416416 lines. push ( "The file uses this format:" . to_string ( ) ) ;
417417 lines. push ( "```json" . to_string ( ) ) ;
418- lines. push ( r#"{
418+ lines. push (
419+ r#"{
419420 "mcpServers": {
420421 "server-name": {
421422 "command": "npx",
422423 "args": ["-y", "some-mcp-package"],
423424 "env": {}
424425 }
425426 }
426- }"# . to_string ( ) ) ;
427+ }"#
428+ . to_string ( ) ,
429+ ) ;
427430 lines. push ( "```" . to_string ( ) ) ;
428431 }
429432 config:: AiBackend :: Cursor => {
@@ -435,15 +438,18 @@ pub fn build_context_prompt_for_user(
435438 lines. push ( String :: new ( ) ) ;
436439 lines. push ( "The file uses this format:" . to_string ( ) ) ;
437440 lines. push ( "```json" . to_string ( ) ) ;
438- lines. push ( r#"{
441+ lines. push (
442+ r#"{
439443 "mcpServers": {
440444 "server-name": {
441445 "command": "npx",
442446 "args": ["-y", "some-mcp-package"],
443447 "env": {}
444448 }
445449 }
446- }"# . to_string ( ) ) ;
450+ }"#
451+ . to_string ( ) ,
452+ ) ;
447453 lines. push ( "```" . to_string ( ) ) ;
448454 }
449455 }
You can’t perform that action at this time.
0 commit comments