chore: generate
This commit is contained in:
@@ -52,8 +52,7 @@ export const WebFetchTool = Tool.defineEffect(
|
|||||||
let acceptHeader = "*/*"
|
let acceptHeader = "*/*"
|
||||||
switch (params.format) {
|
switch (params.format) {
|
||||||
case "markdown":
|
case "markdown":
|
||||||
acceptHeader =
|
acceptHeader = "text/markdown;q=1.0, text/x-markdown;q=0.9, text/plain;q=0.8, text/html;q=0.7, */*;q=0.1"
|
||||||
"text/markdown;q=1.0, text/x-markdown;q=0.9, text/plain;q=0.8, text/html;q=0.7, */*;q=0.1"
|
|
||||||
break
|
break
|
||||||
case "text":
|
case "text":
|
||||||
acceptHeader = "text/plain;q=1.0, text/markdown;q=0.9, text/html;q=0.8, */*;q=0.1"
|
acceptHeader = "text/plain;q=1.0, text/markdown;q=0.9, text/html;q=0.8, */*;q=0.1"
|
||||||
|
|||||||
Reference in New Issue
Block a user