You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何在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

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.12 19:18:10