diff --git a/functions/api/scheduler.ts b/functions/api/scheduler.ts index d45093b..f621058 100644 --- a/functions/api/scheduler.ts +++ b/functions/api/scheduler.ts @@ -14,6 +14,7 @@ interface MessageHistory { } export async function onRequestPost({ env, request }) { + console.log('scheduler'); try { const { message, history, availableAIs } = await request.json(); const selectedAIs = await scheduleAIResponses(message, history, availableAIs, env); diff --git a/warngler.toml b/warngler.toml new file mode 100644 index 0000000..829ef71 --- /dev/null +++ b/warngler.toml @@ -0,0 +1,3 @@ +[observability] +enabled = true +head_sampling_rate = 1 # optional. default = 1. \ No newline at end of file