script({ model: "echo", group: "commit", tests: {} })
const { dbg } = env
dbg("This is a debug message")
dbg("This is a debug message with a variable: %s", "variable")
dbg("This is a debug message with an object: %o", { key: "value" })
console.log("To see log messages, run the script with DEBUG=script")
console.log("DEBUG=script genaiscript run debug")
await runPrompt(
() => {
dbg("This is a debug message in a prompt")
},
{ model: "echo" }
)
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/microsoft/genaiscript'
If you have feedback or need assistance with the MCP directory API, please join our Discord server