File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 1- # OpenAI Agents SDK for JavaScript
1+ # Riligar Solutions - Agents SDK for JavaScript
22
33A lightweight yet powerful framework for building multi-agent workflows in JavaScript.
44
@@ -26,15 +26,15 @@ npm install @riligar-solutions/agents-sdk
2626## Usage
2727
2828``` js
29- const agent = new Agent ({
30- name: " Assistant" ,
31- instructions: " You are a helpful assistant. Respond to the user's questions in a friendly and concise manner."
32- });
33-
34- // console.log("Running agent Assistant (turn 1)");
35- const result = await Runner .run (agent, " Hello, world! What can you do for me?" );
36- console .log (" \n User: Hello, world! What can you do for me?" );
37- console .log (` Assistant: ${ result .finalOutput } ` );
29+ const agent = new Agent ({
30+ name: " Assistant" ,
31+ instructions: " You are a helpful assistant. Respond to the user's questions in a friendly and concise manner."
32+ });
33+
34+ // console.log("Running agent Assistant (turn 1)");
35+ const result = await Runner .run (agent, " Hello, world! What can you do for me?" );
36+ console .log (" \n User: Hello, world! What can you do for me?" );
37+ console .log (` Assistant: ${ result .finalOutput } ` );
3838```
3939
4040## License
You can’t perform that action at this time.
0 commit comments