Skip to content

Feature: fix "observation': 'invalid syntax (<string>, line 1)"#6

Open
ZhangZixunCodeSpace wants to merge 271 commits intomainfrom
feature/data_visualization_hackathon
Open

Feature: fix "observation': 'invalid syntax (<string>, line 1)"#6
ZhangZixunCodeSpace wants to merge 271 commits intomainfrom
feature/data_visualization_hackathon

Conversation

@ZhangZixunCodeSpace
Copy link
Copy Markdown
Collaborator

Features

  • Feature 1
  • Feature 2

Feature Docs

Influence

Result

Other

Kingtous and others added 30 commits March 13, 2025 00:27
feat: add Baidu, DuckDuckGo search tool and optional config
将工具选择从 ToolChoice.REQUIRED 更新为 ToolChoice.AUTO,以优化规划代理和规划流程的工具调用逻辑。
Support OpenAI Reasoning Models (o1, o3-mini)
…ol_calls

This commit improves the message handling in the LLM class to gracefully handle
messages without 'content' or 'tool_calls' fields. Previously, the system would
raise a ValueError when encountering such messages, causing crashes when working
with models like Google's Gemini that sometimes return messages with different
structures.

Key changes:
- Reordered message processing to check for Message objects first
- Changed validation approach to silently skip malformed messages instead of crashing
- Removed the strict ValueError when content/tool_calls are missing

This change maintains compatibility with correctly formatted messages while
improving robustness when working with various LLM providers.
mannaandpoem and others added 30 commits March 30, 2025 23:22
Feat: Update chart generation tools in data analysis
…n_zzx

Feat/data visualization hackathon zzx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.