Skip to content

Commit

Permalink
Remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
stefl committed Sep 10, 2024
1 parent faa212a commit 8038b07
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ export const useTemporaryLessonPlanWithStreamingEdits = ({
patch: PatchDocumentWithHash,
workingLessonPlan: LooseLessonPlan,
) {
console.log("Apply to temp", patch);
const newLessonPlan: LooseLessonPlan | undefined = applyLessonPlanPatch(
workingLessonPlan,
patch,
Expand Down
4 changes: 0 additions & 4 deletions packages/aila/src/core/chat/AilaChat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,10 +339,6 @@ export class AilaChat implements AilaChatService {
),
});

const jsonSchema = zodToJsonSchema(schema);
console.log("JSON Schema");
console.log(JSON.stringify(jsonSchema, null, 2));

return this._llmService.createChatCompletionObjectStream({
model: this._aila.options.model ?? DEFAULT_MODEL,
schema,
Expand Down
1 change: 0 additions & 1 deletion packages/aila/src/core/llm/OpenAIService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ export class OpenAIService implements LLMService {
temperature: number;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
}): Promise<ReadableStreamDefaultReader<string>> {
console.log("Stream object");
const { textStream: stream } = await streamObject({
model: this._openAIProvider(params.model, { structuredOutputs: true }),
output: "object",
Expand Down

0 comments on commit 8038b07

Please sign in to comment.