224 Commits

Author SHA1 Message Date
zhiyuanRen
10ecc91e5e print the token usage of each step's prompt and completion, as well as the cumulative total consumption up to now, which is useful for analyzing resource usage. 2025-03-16 21:47:46 +08:00
Sheng Fan
2a5fa9727f
Merge branch 'mannaandpoem:main' into main 2025-03-16 19:57:41 +08:00
Sheng Fan
491f27358c refactor: Add permissions for top-issues workflow 2025-03-16 19:56:37 +08:00
Sheng Fan
ea4cb2814b
Merge pull request #718 from fred913/main
ci(chore): top-issues panel
2025-03-16 19:53:07 +08:00
mannaandpoem
0d4cedd51d
Merge pull request #50 from obiscr/wuzi/generated-files
place the generated file in the workspace directory
2025-03-16 18:57:53 +08:00
Sheng Fan
16290a120b ci(chore): top-issues panel 2025-03-16 17:47:29 +08:00
mannaandpoem
5883ef88f1
Merge pull request #682 from mannaandpoem/dependabot/pip/browsergym-related-e5abe7ac89
Update playwright requirement from ~=1.49.1 to ~=1.50.0 in the browsergym-related group
2025-03-16 13:29:49 +08:00
dependabot[bot]
9781eadb9e
Update playwright requirement in the browsergym-related group
Updates the requirements on [playwright](https://github.com/microsoft/playwright-python) to permit the latest version.

Updates `playwright` to 1.50.0
- [Release notes](https://github.com/microsoft/playwright-python/releases)
- [Commits](https://github.com/microsoft/playwright-python/compare/v1.49.1...v1.50.0)

---
updated-dependencies:
- dependency-name: playwright
  dependency-type: direct:production
  dependency-group: browsergym-related
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-16 05:12:56 +00:00
mannaandpoem
850718c0b0
Merge pull request #681 from mannaandpoem/dependabot/pip/core-dependencies-a8728a96da
Bump the core-dependencies group with 3 updates
2025-03-16 13:11:42 +08:00
mannaandpoem
25c515bb67
Merge pull request #680 from mannaandpoem/dependabot/github_actions/actions-54efa56ab6
Bump actions/stale from 5 to 9 in the actions group
2025-03-16 13:06:11 +08:00
dependabot[bot]
31133bccbb
Bump the core-dependencies group with 3 updates
Updates the requirements on [pydantic](https://github.com/pydantic/pydantic), [openai](https://github.com/openai/openai-python) and [pydantic-core](https://github.com/pydantic/pydantic-core) to permit the latest version.

Updates `pydantic` to 2.10.6
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](https://github.com/pydantic/pydantic/compare/v2.10.4...v2.10.6)

Updates `openai` to 1.66.3
- [Release notes](https://github.com/openai/openai-python/releases)
- [Changelog](https://github.com/openai/openai-python/blob/main/CHANGELOG.md)
- [Commits](https://github.com/openai/openai-python/compare/v1.58.1...v1.66.3)

Updates `pydantic-core` to 2.32.0
- [Release notes](https://github.com/pydantic/pydantic-core/releases)
- [Commits](https://github.com/pydantic/pydantic-core/compare/v2.27.2...v2.32.0)

---
updated-dependencies:
- dependency-name: pydantic
  dependency-type: direct:production
  dependency-group: core-dependencies
- dependency-name: openai
  dependency-type: direct:production
  dependency-group: core-dependencies
- dependency-name: pydantic-core
  dependency-type: direct:production
  dependency-group: core-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-16 05:02:36 +00:00
dependabot[bot]
4ba7bf692e
Bump actions/stale from 5 to 9 in the actions group
Bumps the actions group with 1 update: [actions/stale](https://github.com/actions/stale).


Updates `actions/stale` from 5 to 9
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v5...v9)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-16 05:02:06 +00:00
liangxinbing
24bae66333 update dependabot.yml 2025-03-16 13:01:25 +08:00
liangxinbing
5e35f01ea8 format code 2025-03-16 12:57:06 +08:00
mannaandpoem
4783f8a0d6
Merge pull request #581 from kojeomstudio/add-docker-file
add docker file and start.sh
2025-03-16 12:19:18 +08:00
kuma
765155c9c3 add docker file 2025-03-16 09:52:16 +09:00
mannaandpoem
564a9fd88c
Merge pull request #648 from fred913/main
chore: several optimizations
2025-03-15 19:03:22 +08:00
Sheng Fan
b4b83bf668 style: Enable format on save in VSCode settings 2025-03-15 18:34:42 +08:00
Sheng Fan
b3277c4957 style: Add setting to trim trailing whitespace 2025-03-15 18:33:38 +08:00
Sheng Fan
729e824e4e
Merge branch 'main' into main 2025-03-15 18:27:56 +08:00
mannaandpoem
3e77ccb5d9
Merge pull request #663 from vincent7f/dev-gitignore-config
bug fix: update .gitignore to include config/config.toml for sensitive information
2025-03-15 18:20:34 +08:00
shenheng
a9999cef21 update .gitignore to include config/config.toml for sensitive information 2025-03-15 18:00:53 +08:00
mannaandpoem
6cca521d7a
Merge pull request #584 from zhoupeng/main
Update README
2025-03-15 17:56:57 +08:00
liangxinbing
49c2db7a32 update logo 2025-03-15 17:49:52 +08:00
mannaandpoem
337adf011c
Merge pull request #635 from a-holm/avoid-Validation-error-when-using-gemini
fix(llm): improve message handling to support LLMs without content/tool_calls
2025-03-15 17:11:19 +08:00
mannaandpoem
5641c9bf8a
Merge pull request #598 from ca-ke/refactor/web-search-tool
refactor(web_search): enhance web search functionality with engine fallback
2025-03-15 17:06:32 +08:00
Sheng Fan
07655aacce
Merge branch 'main' into main 2025-03-15 17:05:05 +08:00
a-holm
60268f1696 reformat with precommit 2025-03-15 09:48:52 +01:00
liangxinbing
65a3898592 format code and remove max_input_tokens for ToolCallAgent 2025-03-15 14:43:07 +08:00
liangxinbing
86399b97d6 add dependabot.yml 2025-03-15 14:40:01 +08:00
mannaandpoem
3bb8f8fe71
Merge pull request #642 from matengm1/bug/fix-temperature-defaulting
Fix temperature using default if 0
2025-03-15 14:16:46 +08:00
mannaandpoem
d35cd5ccf0
Merge pull request #573 from nezhazheng/main
Use the max_input_tokens configuration to constrain the agent’s token usage.
2025-03-15 14:11:19 +08:00
Sheng Fan
ca90880140 fix: EOF for files 2025-03-15 13:04:21 +08:00
Sheng Fan
d54026d7a0 chore: organize .gitignore 2025-03-15 12:58:25 +08:00
Sheng Fan
b6f8f825e0 chore: ensure TOML configuration files are formatted well 2025-03-15 12:58:18 +08:00
Matt Eng
49ccd72815 Reformat 2025-03-14 21:41:43 -07:00
Matt Eng
b17c9d31a9 Fix temperature using default if 0 2025-03-14 20:39:23 -07:00
a-holm
350b0038ee fix(llm): improve message handling to support LLMs without content/tool_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.
2025-03-14 21:01:13 +01:00
Caique Minhare [Cake]
6ea5a4d1ef
Merge branch 'main' into refactor/web-search-tool 2025-03-14 15:04:55 -03:00
mannaandpoem
3671e1d866
Merge pull request #513 from the0807/feature/ollama
Add config support for Ollama
2025-03-14 15:20:29 +08:00
xiangjinyu
c0c03c0bef fix _handle_special_tool bug 2025-03-14 13:25:43 +08:00
the0807
7a5de55615 Add config support for Ollama 2025-03-14 14:02:32 +09:00
zhengshuli
9b0b69a5e1 Use the max_input_tokens configuration to constrain the agent’s token usage. 2025-03-14 12:35:26 +08:00
liangxinbing
7db0b2fbf0 update readme 2025-03-14 12:27:05 +08:00
liangxinbing
9c7834eff2 update readme; format code; update config.example.toml 2025-03-14 12:20:59 +08:00
mannaandpoem
e844dfca34
Merge pull request #510 from the0807/feature/o3-mini
Support OpenAI Reasoning Models (o1, o3-mini)
2025-03-14 11:47:34 +08:00
mannaandpoem
a1b5d189db
Merge pull request #603 from raydoomed/main
将工具选择从 ToolChoice.REQUIRED 更新为 ToolChoice.AUTO,以优化规划代理和规划流程的工具调用逻辑。
2025-03-14 11:21:02 +08:00
xRay
89c9d904db 将工具选择从 ToolChoice.REQUIRED 更新为 ToolChoice.AUTO,以优化规划代理和规划流程的工具调用逻辑。 2025-03-14 09:46:46 +08:00
ca-ke
cba275d405 refactor: enhance web search functionality with engine fallback and retry mechanism 2025-03-13 14:17:57 -03:00
Isaac
be5c2646af
Merge pull request #543 from aacedar/thread_safe
update python_execute thread safe
2025-03-13 21:15:17 +08:00