Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

event error: [1214][history参数非法。请检查文档。]  #725

Copy link
Copy link
@springasa

Description

@springasa
Issue body actions

Bug description

在运行examples\search_google.py示例时,出现“event error: [1214][history参数非法。请检查文档。] ”的错误

The error "event error: [1214][history parameter is invalid. Please check the documentation.]" occurred when running the examples\search_google.py .

Bug solved method

Environment information

  • LLM type and model name: ZhiPuAILLM chatglm_turbo
  • System version:win11
  • Python version: 3.11.4
  • packages version:
  • installation method:

Screenshots or logs

2024-01-08 22:54:34.334 | INFO     | metagpt.const:get_metagpt_package_root:32 - Package root set to D:\workspace\sourcecode\MetaGPT
2024-01-08 22:54:34.521 | INFO     | metagpt.config:get_default_llm_provider_enum:126 - API: LLMProviderEnum.ZHIPUAI
2024-01-08 22:54:37.764 | INFO     | metagpt.config:get_default_llm_provider_enum:126 - API: LLMProviderEnum.ZHIPUAI
2024-01-08 22:54:37.772 | INFO     | metagpt.config:get_default_llm_provider_enum:126 - API: LLMProviderEnum.ZHIPUAI
2024-01-08 22:54:37.773 | INFO     | metagpt.roles.searcher:_act_sp:60 - Alice(Smart Assistant): to do SearchAndSummarize(SearchAndSummarize)
2024-01-08 22:54:39.616 | ERROR    | metagpt.provider.zhipuai_api:_achat_completion_stream:102 - event error: [1214][history参数非法。请检查文档。]
2024-01-08 22:54:39.617 | INFO     | metagpt.utils.cost_manager:update_cost:48 - Total running cost: $0.000 | Max budget: $10.000 | Current cost: $0.000, prompt_tokens: 0, completion_tokens: 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.