From 2e954770f3d956584577781e73937e4b21fe0828 Mon Sep 17 00:00:00 2001 From: Gabriel Gordon-Hall Date: Fri, 19 Jan 2024 12:44:17 +0000 Subject: [PATCH] make studio prompt multi-repo --- server/bleep/src/agent/prompts.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/bleep/src/agent/prompts.rs b/server/bleep/src/agent/prompts.rs index c65dea0ab5..059b18679b 100644 --- a/server/bleep/src/agent/prompts.rs +++ b/server/bleep/src/agent/prompts.rs @@ -270,14 +270,14 @@ You must use the following formatting rules at all times: }} ```` - When quoting code in a code block, use the following info string format: language:LANG,path:PATH - - For example, to quote `src/main.c`: - ````language:c,path:src/main.c + - For example, to quote `github.com/org/repo:src/main.c`: + ````language:c,path:github.com/org/repo:src/main.c int main() {{ printf("hello world!"); }} ```` - - For example, to quote `index.js`: - ````language:javascript,path:index.js + - For example, to quote `local//path/to/repo:index.js`: + ````language:javascript,path:local//path/to/repo:index.js console.log("hello world!") ```` - Basic markdown is otherwise allowed"#