Skip to content

Commit

Permalink
Merge pull request #17 from parea-ai/fix-deploy-return-type
Browse files Browse the repository at this point in the history
fix(deploy): functions response for deployed prompt to str
  • Loading branch information
jalexanderII authored Feb 6, 2024
2 parents 795431e + a357dae commit 34ca15c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ export type CompletionResponse = {
start_timestamp: string;
end_timestamp: string;
error?: string;
trace_id?: string;
};

export type UseDeployedPrompt = {
Expand All @@ -89,7 +88,7 @@ export type Prompt = {
export type UseDeployedPromptResponse = {
deployment_id: string;
name?: string;
functions?: { [key: string]: any };
functions?: string[];
function_call?: string;
prompt?: Prompt;
model?: string;
Expand Down

0 comments on commit 34ca15c

Please sign in to comment.