BuildGridUserPrompt builds the user prompt with current grid context
(ctx *GridContext, lang string)
| 207 | |
| 208 | // BuildGridUserPrompt builds the user prompt with current grid context |
| 209 | func BuildGridUserPrompt(ctx *GridContext, lang string) string { |
| 210 | if lang == "zh" { |
| 211 | return buildGridUserPromptZh(ctx) |
| 212 | } |
| 213 | return buildGridUserPromptEn(ctx) |
| 214 | } |
| 215 | |
| 216 | func buildGridUserPromptZh(ctx *GridContext) string { |
| 217 | var sb strings.Builder |
no test coverage detected