enable log

This commit is contained in:
maojindao55
2025-03-05 19:10:45 +08:00
parent 80c3fae44e
commit 57a5f18d3f
2 changed files with 4 additions and 0 deletions

View File

@@ -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);

3
warngler.toml Normal file
View File

@@ -0,0 +1,3 @@
[observability]
enabled = true
head_sampling_rate = 1 # optional. default = 1.