You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
translate(text)
Error in httr2::req_perform_stream():
! HTTP 400 Bad Request.
Run rlang::last_trace() to see where the error occurred.
rlang::last_trace()
<error/httr2_http_400>
Error in httr2::req_perform_stream():
! HTTP 400 Bad Request.
Backtrace:
▆
└─fanyi::translate(text)
└─fanyi::chatglm_translate(x, from = from, to = to)
└─fanyi:::vectorize_translator(...)
└─fanyi:::.translate(x[i], .fun = .fun, from = from, to = to)
└─fanyi (local) .fun(x, from = from, to = to)
└─fanyi:::.chatglm_query(prompt)
└─httr2::req_perform_stream(...)
Run rlang::last_trace(drop = FALSE) to see 3 hidden frames.
rlang::last_trace(drop = FALSE)
<error/httr2_http_400>
Error in httr2::req_perform_stream():
! HTTP 400 Bad Request.
Backtrace:
▆
└─fanyi::translate(text)
└─fanyi::chatglm_translate(x, from = from, to = to)
└─fanyi:::vectorize_translator(...)
└─fanyi:::.translate(x[i], .fun = .fun, from = from, to = to)
流程如下:
set_translate_option(key = "a................................................................a",
appid = "a..............................................................a",
source = "chatglm")
text <- '我都不知道做人该怎么办,总之报纸写啥就信啥,电视演啥我就看啥。'
translate(text)
报错如下:
Backtrace:
▆
Run rlang::last_trace(drop = FALSE) to see 3 hidden frames.
Backtrace:
▆
蹲蹲余叔和好心人帮助
The text was updated successfully, but these errors were encountered: