Skip to content

Commit

Permalink
auto-complete typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Oct 24, 2024
1 parent 91be4da commit a41eab4
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions packages/core/src/runpromptcontext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
createSchemaNode,
createStringTemplateNode,
createTextNode,
createSystemNode,
renderPromptNode,
createOutputProcessor,
createFileMerge,
Expand Down Expand Up @@ -117,7 +118,7 @@ export function createChatTurnGenerationContext(
role === "assistant"
? createAssistantNode(body, { priority, maxTokens })
: role === "system"
? creatSystemNode(body, { priority, maxTokens })
? createSystemNode(body, { priority, maxTokens })
: createTextNode(body, { priority, maxTokens })
)
}
Expand Down Expand Up @@ -773,9 +774,3 @@ export function createChatGenerationContext(

return ctx
}
function creatSystemNode(
body: Awaitable<string>,
arg1: { priority: number; maxTokens: number }
): PromptNode {
throw new Error("Function not implemented.")
}

0 comments on commit a41eab4

Please sign in to comment.