fix(chat): align backendUrl comment with correct api context path
This commit is contained in:
parent
30939f13fd
commit
05392384b6
|
|
@ -15,7 +15,7 @@ import timber.log.Timber
|
|||
import java.util.concurrent.TimeUnit
|
||||
|
||||
class AiChatRepository {
|
||||
// 根据后端实际情况修改,模拟器访问本地后端用 10.0.2.2
|
||||
// 根据后端实际情况修改,模拟器访问本地后端用 10.0.2.2,后端 context-path 是 /api 加上 controller 的 /chat/stream
|
||||
private val backendUrl = "http://10.0.2.2:8080/api/chat/stream"
|
||||
|
||||
private val client = OkHttpClient.Builder()
|
||||
|
|
|
|||
Loading…
Reference in New Issue