Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@BabyCNM
Copy link
Collaborator

@BabyCNM BabyCNM commented Jan 18, 2025

Why are these changes needed?

Related issue number

Checks

@Hk669
Copy link
Collaborator

Hk669 commented Jan 20, 2025

@BabyCNM thanks for adding execution support to the reasoning agent, have you tested this locally?

@BabyCNM
Copy link
Collaborator Author

BabyCNM commented Jan 22, 2025

@Hk669 Yes, I have tested locally. However, I want to include tool_use too. Hold on a bit.

@CLAassistant
Copy link

CLAassistant commented Feb 12, 2025

CLA assistant check
All committers have signed the CLA.

@sonichi sonichi enabled auto-merge February 25, 2025 18:46
@sonichi sonichi added this pull request to the merge queue Feb 25, 2025
Merged via the queue into main with commit 465eb81 Feb 25, 2025
17 checks passed
@sonichi sonichi deleted the reason_tool branch February 25, 2025 19:05
@codecov
Copy link

codecov bot commented Feb 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ There is a different number of reports uploaded between BASE (bb8b41a) and HEAD (1402b37). Click for more details.

HEAD has 1201 uploads less than BASE
Flag BASE (bb8b41a) HEAD (1402b37)
3.13 84 0
ubuntu-latest 138 1
commsagent-discord 7 0
optional-deps 137 0
browser-use 7 0
macos-latest 104 0
3.9 73 0
commsagent-slack 9 0
windows-latest 104 0
core-without-llm 9 1
3.11 62 1
3.10 92 0
commsagent-telegram 9 0
3.12 35 0
jupyter-executor 9 0
retrievechat-pgvector 10 0
graph-rag-falkor-db 6 0
retrievechat-qdrant 11 0
retrievechat-mongodb 10 0
twilio 9 0
gpt-assistant-agent 3 0
anthropic 16 0
gemini 14 0
teachable 4 0
retrievechat 10 0
lmm 4 0
websurfer 15 0
cerebras 14 0
interop 13 0
agent-eval 1 0
cohere 15 0
groq 14 0
llama-index-agent 3 0
retrievechat-couchbase 3 0
core-llm 3 0
deepseek 1 0
openai 1 0
integration 12 0
crawl4ai 13 0
falkordb 2 0
autobuild 1 0
docs 6 0
interop-crewai 9 0
interop-langchain 9 0
websockets 9 0
interop-pydantic-ai 9 0
neo4j 2 0
mistral 14 0
ollama 14 0
together 14 0
long-context 3 0
bedrock 14 0
reasoning 14 0

see 62 files with indirect coverage changes

BabyCNM added a commit that referenced this pull request Feb 25, 2025
* Enable code execution in reasoning agent

1. enable code execution
2. remove the "verbose" parameter, and replace with AG2's default "silent" parameter.

* init _user_proxy

* notebook update

* notebook update

* add test case for running code in reasoning agent

* use mock credential for reasoning test

* reasoning prompt update

* mock credentials for more tests

* Update .secrets.baseline

* clear notebook outputs

* remove variable F
BabyCNM added a commit that referenced this pull request Feb 26, 2025
* Enable code execution in reasoning agent

1. enable code execution
2. remove the "verbose" parameter, and replace with AG2's default "silent" parameter.

* init _user_proxy

* notebook update

* notebook update

* add test case for running code in reasoning agent

* use mock credential for reasoning test

* reasoning prompt update

* mock credentials for more tests

* Update .secrets.baseline

* clear notebook outputs

* remove variable F
BabyCNM added a commit that referenced this pull request Feb 26, 2025
* Enable code execution in reasoning agent

1. enable code execution
2. remove the "verbose" parameter, and replace with AG2's default "silent" parameter.

* init _user_proxy

* notebook update

* notebook update

* add test case for running code in reasoning agent

* use mock credential for reasoning test

* reasoning prompt update

* mock credentials for more tests

* Update .secrets.baseline

* clear notebook outputs

* remove variable F
BabyCNM added a commit that referenced this pull request Feb 26, 2025
* Enable code execution in reasoning agent

1. enable code execution
2. remove the "verbose" parameter, and replace with AG2's default "silent" parameter.

* init _user_proxy

* notebook update

* notebook update

* add test case for running code in reasoning agent

* use mock credential for reasoning test

* reasoning prompt update

* mock credentials for more tests

* Update .secrets.baseline

* clear notebook outputs

* remove variable F
BabyCNM added a commit that referenced this pull request Feb 26, 2025
* Enable code execution in reasoning agent

1. enable code execution
2. remove the "verbose" parameter, and replace with AG2's default "silent" parameter.

* init _user_proxy

* notebook update

* notebook update

* add test case for running code in reasoning agent

* use mock credential for reasoning test

* reasoning prompt update

* mock credentials for more tests

* Update .secrets.baseline

* clear notebook outputs

* remove variable F
github-merge-queue bot pushed a commit that referenced this pull request Feb 28, 2025
…ningAgent (#1140)

* Add prompt rewriting for multiple messages

* Add tests for prompt handling

* Reasoning Agent can execute code now. (#545)

* Enable code execution in reasoning agent

1. enable code execution
2. remove the "verbose" parameter, and replace with AG2's default "silent" parameter.

* init _user_proxy

* notebook update

* notebook update

* add test case for running code in reasoning agent

* use mock credential for reasoning test

* reasoning prompt update

* mock credentials for more tests

* Update .secrets.baseline

* clear notebook outputs

* remove variable F

* Add tests for prompt handling

* Remove duplicate test functions from auto-merge.

* Update rewrite prompt

* Reasoning Agent can execute code now. (#545)

* Enable code execution in reasoning agent

1. enable code execution
2. remove the "verbose" parameter, and replace with AG2's default "silent" parameter.

* init _user_proxy

* notebook update

* notebook update

* add test case for running code in reasoning agent

* use mock credential for reasoning test

* reasoning prompt update

* mock credentials for more tests

* Update .secrets.baseline

* clear notebook outputs

* remove variable F

* Swarm and Google Gemini client test fixes (#1139)

* Fix swarm tests by including transit messages

* Fix for Gemini library for async use

* pre-commit fix

* Add tests for prompt handling

* Reasoning Agent can execute code now. (#545)

* Enable code execution in reasoning agent

1. enable code execution
2. remove the "verbose" parameter, and replace with AG2's default "silent" parameter.

* init _user_proxy

* notebook update

* notebook update

* add test case for running code in reasoning agent

* use mock credential for reasoning test

* reasoning prompt update

* mock credentials for more tests

* Update .secrets.baseline

* clear notebook outputs

* remove variable F

* Reasoning Agent can execute code now. (#545)

* Enable code execution in reasoning agent

1. enable code execution
2. remove the "verbose" parameter, and replace with AG2's default "silent" parameter.

* init _user_proxy

* notebook update

* notebook update

* add test case for running code in reasoning agent

* use mock credential for reasoning test

* reasoning prompt update

* mock credentials for more tests

* Update .secrets.baseline

* clear notebook outputs

* remove variable F

* Add tests for prompt handling

* Reasoning Agent can execute code now. (#545)

* Enable code execution in reasoning agent

1. enable code execution
2. remove the "verbose" parameter, and replace with AG2's default "silent" parameter.

* init _user_proxy

* notebook update

* notebook update

* add test case for running code in reasoning agent

* use mock credential for reasoning test

* reasoning prompt update

* mock credentials for more tests

* Update .secrets.baseline

* clear notebook outputs

* remove variable F

* merge

* Resolve merge conflicts

* Update rewrite prompt

This rewriting: 1) generalizes 'STEPS ALREADY EXECUTED' to 'ACTIVITY LOG', and 2) generalizes 'current/last question asked by the user' to 'current/last question to be addressed'

* Fix f-string bug

* Remove out of prompt format line

---------

Co-authored-by: giorgossideris <[email protected]>
Co-authored-by: Davor Runje <[email protected]>
Co-authored-by: Mark Sze <[email protected]>
Co-authored-by: Davor Runje <[email protected]>
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.

10 participants