Skip to content

Commit

Permalink
hide definePromptAsync
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelgj committed Jan 25, 2025
1 parent beaf1c5 commit e4c45a5
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions js/ai/src/prompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,12 +223,7 @@ export function definePrompt<
);
}

/**
* Defines a prompt which can be used to generate content or render a request.
*
* @returns The new `ExecutablePrompt`.
*/
export function definePromptAsync<
function definePromptAsync<
I extends z.ZodTypeAny = z.ZodTypeAny,
O extends z.ZodTypeAny = z.ZodTypeAny,
CustomOptions extends z.ZodTypeAny = z.ZodTypeAny,
Expand Down

0 comments on commit e4c45a5

Please sign in to comment.