File tree 2 files changed +14
-14
lines changed
packages/core/src/test_resources
2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -18,15 +18,15 @@ import {
18
18
import { User } from "./types.ts" ;
19
19
20
20
/**
21
- * Create a runtime environment with the specified configurations .
22
- *
23
- * @param {Object } options - The options for creating the runtime environment .
24
- * @param {Record<string, string> | NodeJS.ProcessEnv } [options .env] - The environment variables.
25
- * @param {number } [options .conversationLength] - The length of the conversation.
26
- * @param {Evaluator[] } [options .evaluators] - The array of evaluators .
27
- * @param {Action[] } [options .actions] - The array of actions .
28
- * @param {Provider[] } [options .providers] - The array of providers .
29
- * @returns {Object } - An object containing the created user, session, and runtime.
21
+ * Creates a runtime environment for the agent .
22
+ *
23
+ * @param {Object } param - The parameters for creating the runtime.
24
+ * @param {Record<string, string> | NodeJS.ProcessEnv } [param .env] - The environment variables.
25
+ * @param {number } [param .conversationLength] - The length of the conversation.
26
+ * @param {Evaluator[] } [param .evaluators] - The evaluators to be used .
27
+ * @param {Action[] } [param .actions] - The actions to be used .
28
+ * @param {Provider[] } [param .providers] - The providers to be used .
29
+ * @returns {Object } An object containing the created user, session, and runtime.
30
30
*/
31
31
export async function createRuntime ( {
32
32
env,
Original file line number Diff line number Diff line change 1
1
/**
2
- * Interface representing a user .
2
+ * Interface representing a User .
3
3
* @typedef {Object } User
4
- * @property {string } id - The unique identifier for the user.
5
- * @property {string } [email] - The email address of the user (optional).
6
- * @property {string } [phone] - The phone number of the user (optional).
7
- * @property {string } [role] - The role of the user (optional).
4
+ * @property {string } id - The user's ID .
5
+ * @property {string } [email] - The user's email (optional).
6
+ * @property {string } [phone] - The user's phone number (optional).
7
+ * @property {string } [role] - The user's role (optional).
8
8
*/
9
9
export interface User {
10
10
id : string ;
You can’t perform that action at this time.
0 commit comments