如何在Continue的config.yaml数据块中设置Cookie?排查FastAPI无响应
Continue插件config.yaml配置请求头问题
我正尝试通过Continue插件的config.yaml配置以下内容,以捕获chatInteraction和chatFeedback事件:
data: - name: local-data destination: https://testserver.com/chat-feedback schema: 0.2.0 level: all events: - chatInteraction - chatFeedback
本地可正常运行的配置:
data: - name: local-data destination: http://localhost:8000/chat-feedback schema: 0.2.0 level: all events: - chatInteraction - chatFeedback
该配置在本地uvicorn环境下可正常运行,但在FastAPI调试时无响应且无日志输出。我推测可能需要发送Cookie等请求头,或是存在其他遗漏配置,请问是否可以在数据块中配置这类请求头?
内容的提问来源于stack exchange,提问作者sridattas
相关产品推荐
相关产品推荐

