enable log
This commit is contained in:
@@ -14,6 +14,7 @@ interface MessageHistory {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export async function onRequestPost({ env, request }) {
|
export async function onRequestPost({ env, request }) {
|
||||||
|
console.log('scheduler');
|
||||||
try {
|
try {
|
||||||
const { message, history, availableAIs } = await request.json();
|
const { message, history, availableAIs } = await request.json();
|
||||||
const selectedAIs = await scheduleAIResponses(message, history, availableAIs, env);
|
const selectedAIs = await scheduleAIResponses(message, history, availableAIs, env);
|
||||||
|
|||||||
3
warngler.toml
Normal file
3
warngler.toml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
[observability]
|
||||||
|
enabled = true
|
||||||
|
head_sampling_rate = 1 # optional. default = 1.
|
||||||
Reference in New Issue
Block a user