Skip to content

Commit 5e0c3c2

Browse files
FIX: Comments in the example-usage.ts init file fixed
1 parent 9c7941d commit 5e0c3c2

2 files changed

Lines changed: 24 additions & 18 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# PromptOpsKit
22

33
[![npm version](https://img.shields.io/npm/v/promptopskit.svg)](https://www.npmjs.com/package/promptopskit)
4+
[![CI](https://github.com/PredictabilityAtScale/promptopskit/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/PredictabilityAtScale/promptopskit/actions/workflows/ci.yml)
45
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
56
[![Node.js](https://img.shields.io/badge/node-%3E%3D20-brightgreen.svg)](https://nodejs.org)
67

src/cli/commands/init.ts

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -97,24 +97,29 @@ async function main() {
9797
},
9898
});
9999
100-
// request.body is the fully transformed OpenAI Chat Completions payload.
101-
// For the hello.md prompt in the dev environment it looks like:
102-
//
103-
// {
104-
// "model": "gpt-5.4-mini",
105-
// "reasoning_effort": "low",
106-
// "temperature": 0.2,
107-
// "messages": [
108-
// {
109-
// "role": "system",
110-
// "content": "You are a friendly assistant. Be helpful and concise.\nCurrent app context: Welcome screen.\n\nAlways be polite, professional, and concise. Avoid jargon unless the user uses it first."
111-
// },
112-
// {
113-
// "role": "user",
114-
// "content": "Say hello to World and ask how you can help them today."
115-
// }
116-
// ]
117-
// }
100+
/*
101+
request.body is the fully transformed OpenAI Chat Completions payload.
102+
For the hello.md prompt in the dev environment it looks like:
103+
104+
{
105+
"model": "gpt-5.4-mini",
106+
"reasoning_effort": "low",
107+
"temperature": 0.2,
108+
"messages": [
109+
{
110+
"role": "system",
111+
"content": "You are a friendly assistant. Be helpful and concise.
112+
Current app context: Welcome screen.
113+
114+
Always be polite, professional, and concise. Avoid jargon unless the user uses it first."
115+
},
116+
{
117+
"role": "user",
118+
"content": "Say hello to World and ask how you can help them today."
119+
}
120+
]
121+
}
122+
*/
118123
119124
console.log('Model:', request.body.model);
120125

0 commit comments

Comments
 (0)