Skip to content

Commit 8574e70

Browse files
committed
docs(README): add environment variable setup comment
- Add a comment in the code example to remind users to set up environment variables
1 parent a16de60 commit 8574e70

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.MD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ CortexLuna 基于 Langchain 和 Vercel AI SDK 派生开发。
2727
和 Vercel AI SDK 类似,CortexLuna 提供了 `generateText``generateObject` 等 API。
2828

2929
```typescript
30+
// 需要设置环境变量啊喂
3031
const { text, usage, finishReason } = await generatateText({
3132
model: openaiCompatible('gemini-2.0-flash-lite-preview'),
3233
prompt: 'Talk a joke about programming'

0 commit comments

Comments
 (0)