Skip to content

Commit

Permalink
Fix a few typos
Browse files Browse the repository at this point in the history
  • Loading branch information
scotttrinh committed Apr 29, 2024
1 parent efed0dc commit be31f8e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion packages/ai/src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,10 @@ export class EdgeDBAI {
}
}

streamRag(message: string, context: QueryContext = this.context): Response {
async streamRag(
message: string,
context: QueryContext = this.context
): Promise<Response> {
const response = await this.fetchRag({
model: this.options.model,
prompt: this.options.prompt,
Expand Down
2 changes: 1 addition & 1 deletion packages/ai/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export type MessageStart = {
};

export type ContentBlockStart = {
type: "conent_block_start";
type: "content_block_start";
index: number;
content_block: {
text: string;
Expand Down

0 comments on commit be31f8e

Please sign in to comment.