Peke ki ngā ihirangi
DeerFlow

Ngā kaiwhakahaere whaiaro, motuhake hoki

Whakamahia a DeerFlow me Shannon

Tāpirihia a Shannon ki config.yaml a DeerFlow hei model langchain_openai:ChatOpenAI me te base_url, ā, ka rere te kaitono matua i runga i ngā model Shannon.

  • I whakamātauria 7 Noe 2026
  • OpenAI Chat Completions
  • Tata ki te 6 meneti

Mō DeerFlow

He taputapu kaitono mātāmuri-tuwhera a DeerFlow nā ByteDance, i hangaia i runga i a LangGraph, mō te rangahau hōhonu, te waehere me ētahi atu mahi roa. Ka whakamahere tētahi kaitono matua, ka whakamahi taputapu i tētahi pouaka onepū, ā, ka taea e ia te tuku wāhanga o te mahi ki ngā kaitono-iti. He akomanga LangChain ngā model kua whakaingoatia i config.yaml, nō reira ka rere a DeerFlow i runga i ngā model Shannon mā te ChatOpenAI me tētahi base URL.

Ngā mea e hiahiatia ana

He API key Shannon
Ngā kī me te whakamahinga
URL pūtake
https://api.shannon-ai.com/v1 Pito mutunga: /v1/chat/completions
Ka whai ia wāhanga waehere i raro iho i tō kōwhiringa.

Whakaritea

  1. Whakauruhia a DeerFlow, ā, kōpiatia te whirihora tauira

    Shell
    git clone https://github.com/bytedance/deer-flow
    cd deer-flow
    cp config.example.yaml config.yaml
    cd backend && uv sync
  2. Tāpirihia a Shannon ki raro i models

    I config.yaml, whakakapia te rārangi models: (tāpirihia rānei ki a ia). Ka pānuitia te $SHANNON_API_KEY mai i te taiao.

    config.yaml
    models:
      - name: Kimi-K3-uncensored-NVFP4
        display_name: Kimi-K3-uncensored-NVFP4
        use: langchain_openai:ChatOpenAI
        model: Kimi-K3-uncensored-NVFP4
        api_key: $SHANNON_API_KEY
        base_url: https://api.shannon-ai.com/v1
        max_tokens: 8192
        context_window: 1022976
        supports_vision: true
  3. Whakahaerehia

    Ka tīmata te make dev i te taupānga tukutuku me te kūwaha. Ka whakahaere te kiritaki Python whakauru i te kaitono ōrite me te kore ratonga.

    Python
    from deerflow.client import DeerFlowClient
    
    client = DeerFlowClient(config_path="config.yaml")
    print(client.chat("Name three colours a cat can be.", thread_id="cats"))
    Te kiritaki whakauru DeerFlow i runga i shannon-coder-1: he whakautu kōrero, ā, he rere write_file e penapena ana i hello.txt ki te wāhi mahi o te miro
    He rere tūturu i runga i a DeerFlow (git 2bd60d1) mā te kiritaki whakauru: he wā kōrero me tētahi karanga taputapu.

Tirohia kei te mahi

Tukuna: Whakaingoatia ngā tae e toru ka taea e te ngeru.

Me kite koe i: He whakautu poto kotahi mai i te model Shannon.

Ngā model e hāngai ana ki DeerFlow

Ka tutuki i ia id i raro iho ngā hiahia o DeerFlow. Ko te tuatahi te taunoa i ngā wāhanga waehere.

Id tauiraMatapihi horopakiOutput nui rawaInput whakaahua
Kimi-K3-uncensored-NVFP4 1,022,976 262,144 Āe
Kimi-K3.1-Pro-uncensored-NVFP4 1,022,976 262,144 Āe
MiMo-V2.6-Pro-uncensored-NVFP4 1,022,976 131,072 Āe
Kimi-K3-uncensored-3BIT-REAP 225,280 225,280 Āe
shannon-3 196,608 65,536 Āe

He pai kia mōhio

  • Ka tono hoki a DeerFlow ki te model mō ngā taitara kōrero, ngā tūtohu whai muri, ngā whakahou mahara me ngā whakarāpopototanga. He tono motuhake ia tētahi; ka whakaweherua rātou e ngā wāhanga title, suggestions, memory me summarization.
  • Ka taea e ngā kaitono-iti te rere whakarara (subagent_runtime.max_running, 3 taunoa), ā, ka tuku ia tētahi i āna ake tono.
  • Kua whakaweherua ngā whakahau shell o te kaihautū i te taunoa (sandbox.allow_host_bash: false); ka mahi tonu ngā taputapu kōnae i te pouaka onepū.

Ngā tohutohu

  1. Whakaritea te title.model_name me te summarization.model_name ki tētahi model utu iti ake kia iti tonu ngā tono tapa.
  2. Ka pupuri te DeerFlowClient(..., subagent_enabled=False) i tētahi rere ki te kaitono matua anake.
  3. Whakamahia te context_window hei whakarite ki te model; ka whakamahi a DeerFlow i a ia hei tahua mō ngā prompt.

Te whakatika raruraru

TohuTakeWhakatika
404 Not Found Kāore te base_url e whai /v1. Whakamahia https://api.shannon-ai.com/v1.
401 Kāore i whakaritea te $SHANNON_API_KEY i te tīmatanga o DeerFlow. Kawea atu, tāpirihia rānei ki te .env a DeerFlow.
"The configured LLM provider rejected the request because the account is out of quota…" Te kupu a DeerFlow mō tētahi 429 mai i te API, hei tauira ina pau te whakaaetanga karanga a shannon-coder-1. Tatari kia tautuhi anō te whakaaetanga, whakamahia rānei tētahi model e tātaihia ana mā ngā token.
401 Unauthorized Kei te ngaro te key, kua hē te pato, kua hurihia rānei. Tāruatia anō te key mai i Keys & usage; ka tīmata ki te sk-.
context_length_exceeded, te karere "prompt is too long" rānei He roa ake te kōrero i te matapihi horopaki o te model. Tīmatahia he kōrerorero hou, tukuna te taputapu kia whakamāmā, kōwhiria rānei he model he nui ake te matapihi.
insufficient_quota Kāore e rawaka tō toenga hei utu i te tono. Tāpiri nama, huri mahere rānei; kāore te tono e ngana anō ko ia anake.

Ngā pātai

Ka mahi a DeerFlow me Shannon?

Āe, mā te langchain_openai:ChatOpenAI me te base_url: https://api.shannon-ai.com/v1.

Ka taea e au te whakamahi i a Shannon mō ngā mahi rangahau?

Āe, engari me whai key API rapu motuhake ngā taputapu rapu tukutuku a DeerFlow.

Kōwhiria tō reo

He ōrite ngā reo katoa. Kōwhiria te reo e hiahia ana koe ki te whakamahi.

Ūropi

Te Rāwhiti Waenga me Āwherika ki te Raki

Āhia ki te Tonga

Āhia ki te Tonga-ma-Rāwhiti

Āhia ki te Rāwhiti

Āhia Waenga me Kōkahu

Āwherika

Te Moana-nui-a-Kiwa

Reo Hanga me te Reo Tawhito