utils.ts
基本信息
- 类型: TypeScript 模块
- 路径:
packages/raycast-extension/src/utils.ts
功能描述
Extract variables from prompt content in ${variableName} or ${variableName:default} format
导出内容
- <code>Variable</code> - 接口
- <code>extractVariables</code> - 函数
- <code>compilePrompt</code> - 函数
- <code>Platform</code> - 接口
- <code>chatPlatforms</code> - 常量
- <code>codePlatforms</code> - 常量
- <code>imagePlatforms</code> - 常量
- <code>videoPlatforms</code> - 常量
- <code>buildUrl</code> - 函数
依赖导入
- 无外部依赖
详细说明
详见代码实现