Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying out timeouts #1840

Merged
merged 1,049 commits into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
1049 commits
Select commit Hold shift + click to select a range
5166e7a
Merge branch 'main' into tm-basic-event-structure
thiagomoretto Oct 2, 2024
02fe581
Make tests green again
thiagomoretto Oct 2, 2024
7c1f88c
Add Git validations for publishing tools (#1381)
vinibrsl Oct 2, 2024
8742400
Merge pull request #1382 from crewAIInc/tm-basic-event-structure
thiagomoretto Oct 2, 2024
fd3c8a8
fix: JSON encoding date objects (#1374)
guimorg Oct 2, 2024
91f9d56
Update README (#1376)
tonykipkemboi Oct 3, 2024
d063ed3
docs: correct miswritten command name (#1365)
erenkucuker Oct 3, 2024
5dee13e
Add `--force` option to `crewai tool publish` (#1383)
vinibrsl Oct 4, 2024
b106927
add plotting to flows documentation (#1394)
bhancockio Oct 4, 2024
f98c2c0
Brandon/cre 288 add telemetry to flows (#1391)
bhancockio Oct 4, 2024
4361f4f
Brandon/cre 291 flow improvements (#1390)
bhancockio Oct 4, 2024
f5699dd
quick fixes (#1385)
bhancockio Oct 4, 2024
32395b1
reduce import time by 6x (#1396)
bhancockio Oct 6, 2024
cdc907a
Added version details (#1402)
akesh-0909 Oct 6, 2024
384288e
Update twitter logo to x-twiiter (#1403)
zinyando Oct 7, 2024
8119b72
fix task cloning error (#1416)
bhancockio Oct 10, 2024
063ad2d
Migrate docs from MkDocs to Mintlify (#1423)
tonykipkemboi Oct 10, 2024
d5427fb
Fix/logger - fix #1412 (#1413)
Shahar-Y Oct 10, 2024
24139f5
fixing tests
joaomdmoura Oct 10, 2024
7faff47
preparing new version
joaomdmoura Oct 10, 2024
3a1bb36
updating init
joaomdmoura Oct 10, 2024
02a8edf
Preparing new version
joaomdmoura Oct 10, 2024
f1ecbc3
Trying to fix linting and other warnings (#1417)
bhancockio Oct 11, 2024
2256462
Feat/poetry to uv migration (#1406)
pythonbyte Oct 11, 2024
a6d3898
fix: training issue (#1433)
pythonbyte Oct 12, 2024
bcffbca
Use a slice for the manager request. Make the task use the agent i18n…
shankinson Oct 14, 2024
dda5e0d
Fix Cache Typo in Documentation (#1441)
shnoman97 Oct 14, 2024
99bcc44
Correct the role for the message being added to the messages list (#1…
shankinson Oct 14, 2024
60a87c7
fix typo in template file (#1432)
dbubel Oct 14, 2024
42f960b
Adapt Tools CLI to uv (#1455)
vinibrsl Oct 16, 2024
8720316
use the same i18n as the agent for tool usage (#1440)
shankinson Oct 16, 2024
d4213ce
Upgrade docs to mirror change from `Poetry` to `UV` (#1451)
tonykipkemboi Oct 16, 2024
c86d4ef
feat: ADd warning from poetry -> uv (#1458)
pythonbyte Oct 16, 2024
175f400
feat/updated CLI to allow for model selection & submitting API keys (…
theCyberTech Oct 17, 2024
0eb3ba3
Fix incorrect parameter name in Vision tool docs page (#1461)
rokbenko Oct 17, 2024
65c3280
Feat/memory base (#1444)
lorenzejay Oct 17, 2024
02eb7e7
preparing new version
joaomdmoura Oct 18, 2024
c00e714
fixing annotations
joaomdmoura Oct 18, 2024
7948e62
fix tasks and agents ordering
joaomdmoura Oct 18, 2024
e4f9507
Avoiding exceptions
joaomdmoura Oct 18, 2024
69cd84d
feat: add poetry.lock to uv migration (#1468)
pythonbyte Oct 18, 2024
b3d16bb
fix tool calling issue (#1467)
bhancockio Oct 18, 2024
e5a18a6
cutting new version
joaomdmoura Oct 18, 2024
9278736
new verison
joaomdmoura Oct 18, 2024
233fec1
Adapt `crewai tool install <tool>` to uv (#1481)
vinibrsl Oct 21, 2024
06793d1
fix(docs): typo (#1470)
sammcj Oct 21, 2024
fd1c9ec
drop unneccesary tests (#1484)
bhancockio Oct 21, 2024
dc16ac4
simplify flow (#1482)
bhancockio Oct 21, 2024
845b764
Add Cerebras LLM example configuration to LLM docs (#1488)
tonykipkemboi Oct 22, 2024
aa18967
ensure original embedding config works (#1476)
lorenzejay Oct 22, 2024
ab05c20
use copy to split testing and training on crews (#1491)
bhancockio Oct 23, 2024
38a131d
preparing new verison
joaomdmoura Oct 23, 2024
ed3edc5
fix/fixed missing API prompt + CLI docs update (#1464)
theCyberTech Oct 23, 2024
0b486d5
chore(readme-fix): fixing step for 'running tests' in the contributio…
maiconpeixinho Oct 23, 2024
3f8f19a
support unsafe code execution. add in docker install and running chec…
bhancockio Oct 23, 2024
083f579
Fix memory imports for embedding functions (#1497)
bhancockio Oct 23, 2024
bf79353
updating crewai version
joaomdmoura Oct 23, 2024
da238e0
new version
joaomdmoura Oct 23, 2024
a1e766a
new version
joaomdmoura Oct 23, 2024
570c255
update plot command (#1504)
bhancockio Oct 24, 2024
c42c787
feat: add tomli so we can support 3.10 (#1506)
pythonbyte Oct 25, 2024
f131507
Forward install command options to `uv sync` (#1510)
vinibrsl Oct 25, 2024
26c2812
improve tool text description and args (#1512)
bhancockio Oct 25, 2024
eac3929
Improve tooling docs
bhancockio Oct 28, 2024
1eb87a5
Update flow docs to talk about self evaluation example
bhancockio Oct 28, 2024
73788e6
Update flow docs to talk about self evaluation example
bhancockio Oct 28, 2024
0f37e86
Update flows.mdx - Fix link
bhancockio Oct 29, 2024
06ce3e7
Merge branch 'main' into feat/improve-tooling-docs
bhancockio Oct 29, 2024
17006e2
Merge pull request #1519 from crewAIInc/feat/improve-tooling-docs
tonykipkemboi Oct 29, 2024
20a0e4c
Update flows cli to allow you to easily add additional crews to a flo…
bhancockio Oct 29, 2024
e8bade0
Bugfix/flows with multiple starts plus ands breaking (#1531)
bhancockio Oct 29, 2024
5d264d8
prepare new version
joaomdmoura Oct 30, 2024
f4a8aa5
Added security.md file (#1533)
theCyberTech Oct 30, 2024
f7d7b5f
Disable telemetry explicitly (#1536)
bhancockio Oct 30, 2024
54386c0
Enhance log storage to support more data types (#1530)
MottoX Oct 30, 2024
4eb5cab
Add llm providers accordion group (#1534)
tonykipkemboi Oct 31, 2024
bb9e546
Replace .netrc with uv environment variables (#1541)
vinibrsl Oct 31, 2024
ae33fdd
refactor: Move BaseTool to main package and centralize tool descripti…
c0dezli Nov 1, 2024
ad41065
Update docs (#1550)
tonykipkemboi Nov 1, 2024
e873950
Feat/ibm memory (#1549)
bhancockio Nov 1, 2024
bd1a53a
add inputs to flows (#1553)
bhancockio Nov 1, 2024
8065a02
Increase providers fetching timeout
gvieira Nov 1, 2024
9c63449
Raise an error if an LLM doesnt return a response (#1548)
bhancockio Nov 4, 2024
e160fef
docs update (#1558)
tonykipkemboi Nov 5, 2024
8204de6
Feat/watson in cli (#1535)
bhancockio Nov 5, 2024
9a979f8
Fix flows to support cycles and added in test (#1556)
bhancockio Nov 5, 2024
bd3f404
fix missing config (#1557)
bhancockio Nov 5, 2024
1267219
making sure we don't check for agents that were not used in the crew
joaomdmoura Nov 7, 2024
5bb1a3b
preparing new version
joaomdmoura Nov 10, 2024
80dcbc7
updating LLM docs
joaomdmoura Nov 10, 2024
e15bb1e
preparing new version
joaomdmoura Nov 10, 2024
8eb54cf
curring new version
joaomdmoura Nov 11, 2024
88ecd6b
preparing new version
joaomdmoura Nov 11, 2024
cc10877
preparing new version
joaomdmoura Nov 11, 2024
12fb3fb
add missing init
joaomdmoura Nov 11, 2024
d1169ad
fix LiteLLM callback replacement
thiagomoretto Nov 12, 2024
ccd7723
fix test_agent_usage_metrics_are_captured_for_hierarchical_process
thiagomoretto Nov 12, 2024
c5471a7
Merge pull request #1588 from crewAIInc/tm-workaround-litellm-bug
thiagomoretto Nov 12, 2024
5c2c41e
removing prints
joaomdmoura Nov 12, 2024
1097abf
fix: Step callback issue (#1595)
pythonbyte Nov 13, 2024
6cab25a
Cached prompt tokens on usage metrics
thiagomoretto Nov 13, 2024
b1a0b85
do not include cached on total
thiagomoretto Nov 13, 2024
6526665
Merge branch 'main' into tm-recording-cached-prompt-tokens
thiagomoretto Nov 13, 2024
8059896
Merge pull request #1596 from crewAIInc/tm-recording-cached-prompt-to…
thiagomoretto Nov 13, 2024
11bdc7c
Fix crew_train_success test
thiagomoretto Nov 13, 2024
e1b1a93
Merge pull request #1597 from crewAIInc/tm-fix-crew-train-test
thiagomoretto Nov 13, 2024
5ca23ce
feat: Reduce level for Bandit and fix code to adapt (#1604)
pythonbyte Nov 14, 2024
fcb8114
Add support for retrieving user preferences and memories using Mem0 (…
Dev-Khant Nov 14, 2024
781ac73
upgrade chroma and adjust embedder function generator (#1607)
lorenzejay Nov 14, 2024
e6305ca
preparing enw version
joaomdmoura Nov 17, 2024
6c29ad2
adding before and after crew
joaomdmoura Nov 18, 2024
704025f
Update CLI Watson supported models + docs (#1628)
tonykipkemboi Nov 19, 2024
e761f33
docs: add gh_token documentation to GithubSearchTool
theCyberTech Nov 20, 2024
03029a3
Merge pull request #1634 from crewAIInc/github_tool_update
tonykipkemboi Nov 20, 2024
d36c364
Move kickoff callbacks to crew's domain
gvieira Nov 20, 2024
93471de
Cassettes
gvieira Nov 20, 2024
9b2b44b
Merge pull request #1635 from crewAIInc/gui/kickoff-callbacks
gvieira Nov 20, 2024
5edbb86
Make mypy happy
gvieira Nov 20, 2024
208057e
Merge pull request #1636 from crewAIInc/gui/make-it-green
gvieira Nov 20, 2024
8100d3e
Knowledge (#1567)
bhancockio Nov 20, 2024
2238f7f
Updated README.md, fix typo(s) (#1637)
NicholasWilsonDEV Nov 21, 2024
749cff8
Update Perplexity example in documentation (#1623)
abromberg Nov 21, 2024
e9c999d
Fix threading
gvieira Nov 21, 2024
f41d9ca
Merge pull request #1640 from crewAIInc/gui/fix-threading
gvieira Nov 21, 2024
9f13c8a
preparing new version
joaomdmoura Nov 25, 2024
6812feb
Log in to Tool Repository on `crewai login` (#1650)
vinibrsl Nov 25, 2024
fc653be
add knowledge to mint.json
tonykipkemboi Nov 25, 2024
dbe0c5a
Merge pull request #1652 from tonykipkemboi/main
tonykipkemboi Nov 25, 2024
b3a49e6
Improve typed task outputs (#1651)
bhancockio Nov 26, 2024
08f15f8
Update Github actions (#1639)
bowenliang123 Nov 26, 2024
f754eba
update (#1638)
bowenliang123 Nov 26, 2024
8856ebc
fix spelling issue found by @Jacques-Murray (#1660)
bhancockio Nov 26, 2024
e357a6b
Update readme for running mypy (#1614)
ipeevski Nov 26, 2024
3d23f09
Feat/remove langchain (#1654)
pythonbyte Nov 26, 2024
3fa44e9
Feat/remove langchain (#1668)
bhancockio Nov 27, 2024
cd9a17a
added knowledge to agent level (#1655)
lorenzejay Nov 27, 2024
5735496
Update Agents docs to include two approaches for creating an agent: w…
rokbenko Nov 28, 2024
404da40
Merge pull request #1675 from rokbenko/rok
tonykipkemboi Nov 30, 2024
aa532ac
Documentation Improvements: LLM Configuration and Usage (#1684)
tonykipkemboi Dec 2, 2024
4d06708
Fixes issues with result as answer not properly exiting LLM loop (#1689)
bhancockio Dec 2, 2024
ab7a594
preparing new version
joaomdmoura Dec 2, 2024
e449e53
fix missing code in flows docs (#1690)
tonykipkemboi Dec 3, 2024
1ca68af
Update reset memories command based on the SDK (#1688)
CJavierSaldana Dec 3, 2024
79cfa87
Update using langchain tools docs (#1664)
olaservo Dec 3, 2024
d6fdb99
[FEATURE] Support for custom path in RAGStorage (#1659)
MahlerTom Dec 3, 2024
b2a0bec
[Doc]: Add documenation for openlit observability (#1612)
patcher9 Dec 3, 2024
04cbf10
Fix indentation in llm-connections.mdx code block (#1573)
feynmanliang Dec 3, 2024
1f8ee15
Knowledge project directory standard (#1691)
lorenzejay Dec 3, 2024
dea6b14
Update README.md (#1694)
stephen-talari Dec 3, 2024
c565966
Talk about getting structured consistent outputs with tasks.
bhancockio Dec 4, 2024
ec844ed
Merge branch 'main' into brandon/cre-510-update-docs-to-talk-about-py…
tonykipkemboi Dec 4, 2024
385c78e
Merge pull request #1698 from crewAIInc/brandon/cre-510-update-docs-t…
tonykipkemboi Dec 4, 2024
5f9de33
remove all references to pipeline and pipeline router (#1661)
bhancockio Dec 4, 2024
3820594
docs: add nvidia as provider (#1632)
raspawar Dec 4, 2024
06d02c0
add knowledge demo + improve knowledge docs (#1706)
tonykipkemboi Dec 5, 2024
03abf53
Brandon/cre 509 hitl multiple rounds of followup (#1702)
bhancockio Dec 5, 2024
d77c35a
New docs about yaml crew with decorators. Simplify template crew with…
bhancockio Dec 5, 2024
db0d0c2
updating tools
joaomdmoura Dec 5, 2024
7a4d0dd
curting new verson
joaomdmoura Dec 5, 2024
55456a2
Incorporate Stale PRs that have feedback (#1693)
bhancockio Dec 5, 2024
4405136
drop metadata requirement (#1712)
bhancockio Dec 5, 2024
ade3934
add support for langfuse with litellm (#1721)
bhancockio Dec 6, 2024
36eb635
docs: Add quotes to agentops installing command (#1729)
pythonbyte Dec 9, 2024
b64098b
Fixed output_file not respecting system path (#1726)
frieda-huang Dec 9, 2024
6fb6ef6
fix:typo error (#1732)
Archkon Dec 9, 2024
f724f30
Fix Knowledge docs Spaceflight News API dead link
rokbenko Dec 9, 2024
eae0eb2
call storage.search in user context search instead of memory.search (…
burnerlee Dec 9, 2024
eb3076b
Merge branch 'main' into main
tonykipkemboi Dec 9, 2024
f5107d7
Merge pull request #1733 from rokbenko/main
tonykipkemboi Dec 9, 2024
4a52db6
Add doc structured tool (#1713)
lgesuellip Dec 9, 2024
55d420d
_execute_tool_and_check_finality 结果给回调参数,这样就可以提前拿到结果信息,去做数据解析判断做预判 (#…
fucktx Dec 9, 2024
317bcac
format bullet points (#1734)
tonykipkemboi Dec 9, 2024
7d4d5c6
Add missing @functools.wraps when wrapping functions and preserve wra…
piotrm0 Dec 9, 2024
e5ccfbf
Fix disk I/O error when resetting short-term memory. (#1724)
caike Dec 9, 2024
30566a8
restrict python version compatibility (#1731)
bhancockio Dec 9, 2024
6f7c94e
Bugfix/restrict python version compatibility (#1736)
bhancockio Dec 9, 2024
7d85046
Update pyproject.toml and uv.lock to drop crewai-tools as a default r…
bhancockio Dec 9, 2024
e2f7146
copy googles changes. Fix tests. Improve LLM file (#1737)
bhancockio Dec 10, 2024
bc1ebf3
fix:typo error (#1738)
Archkon Dec 10, 2024
2a3698d
Remove manager_callbacks reference (#1741)
pcowgill Dec 11, 2024
ec2f0a7
include event emitter in flows (#1740)
bhancockio Dec 11, 2024
93425db
sort imports with isort rules by ruff linter (#1730)
bowenliang123 Dec 11, 2024
32f2a39
Added is_auto_end flag in agentops.end session in crew.py (#1320)
anmol-aidora Dec 11, 2024
33c0c72
NVIDIA Provider : UI changes (#1746)
raspawar Dec 12, 2024
983ca25
Fix small typo in sample tool (#1747)
andrelago13 Dec 12, 2024
ec6981d
Feature/add workflow permissions (#1749)
theCyberTech Dec 12, 2024
6738a02
remove pkg_resources which was causing issues (#1751)
bhancockio Dec 12, 2024
49c02d0
apply agent ops changes and resolve merge conflicts (#1748)
bhancockio Dec 12, 2024
2f4681e
drop print (#1755)
bhancockio Dec 12, 2024
497724f
Fix: CrewJSONEncoder now accepts enums (#1752)
Shahar-Y Dec 12, 2024
9ecc534
Fix bool and null handling (#1771)
kaavee315 Dec 16, 2024
1d98a83
include 12 but not 13
bhancockio Dec 17, 2024
791d156
change to <13 instead of <=12
bhancockio Dec 17, 2024
6ff669e
Merge pull request #1777 from crewAIInc/fix/python-max-version
tonykipkemboi Dec 17, 2024
08f252c
Gemini 2.0 (#1773)
zeroasterisk Dec 17, 2024
7f357d2
Remove relative import in flow `main.py` template (#1782)
vinibrsl Dec 18, 2024
0487a0e
Add `tool.crewai.type` pyproject attribute in templates (#1789)
vinibrsl Dec 20, 2024
757bfe0
Correcting a small grammatical issue that was bugging me: from _satis…
aspleenic Dec 20, 2024
8c53880
feat: Add task guardrails feature (#1742)
devin-ai-integration[bot] Dec 22, 2024
764eac1
feat: Add interpolate_only method and improve error handling (#1791)
devin-ai-integration[bot] Dec 23, 2024
a8ffb60
Feat/docling-support (#1763)
lorenzejay Dec 23, 2024
a8e0836
removed some redundancies (#1796)
lorenzejay Dec 23, 2024
1aa6cfd
Feat/joao flow improvement requests (#1795)
bhancockio Dec 24, 2024
0006fdb
Adding Multimodal Abilities to Crew (#1805)
joaomdmoura Dec 27, 2024
f6f5f3d
chore: removing crewai-tools from dev-dependencies (#1760)
joaoigm Dec 27, 2024
1c90f02
docs: add guide for multimodal agents (#1807)
devin-ai-integration[bot] Dec 27, 2024
40173c2
Portkey Integration with CrewAI (#1233)
siddharthsambharia-portkey Dec 27, 2024
1bc914e
fix: Change storage initialization to None for KnowledgeStorage (#1804)
ericklima-ca Dec 28, 2024
49ad4bc
fix: handle optional storage with null checks (#1808)
devin-ai-integration[bot] Dec 28, 2024
755722f
docs: update README to highlight Flows (#1809)
devin-ai-integration[bot] Dec 28, 2024
2576037
Update README.md
joaomdmoura Dec 28, 2024
289b56e
docs: add agent-specific knowledge documentation and examples (#1811)
devin-ai-integration[bot] Dec 28, 2024
d993b51
fixing file paths for knowledge source
joaomdmoura Dec 28, 2024
3731a8c
Fix interpolation for output_file in Task (#1803) (#1814)
devin-ai-integration[bot] Dec 29, 2024
cac69e9
fix(manager_llm): handle coworker role name case/whitespace properly …
devin-ai-integration[bot] Dec 30, 2024
a7b00ce
fix: add tiktoken as explicit dependency and document Rust requiremen…
devin-ai-integration[bot] Dec 30, 2024
f53b7f4
Docstring, Error Handling, and Type Hints Improvements (#1828)
devin-ai-integration[bot] Dec 31, 2024
714134e
feat: add docstring (#1819)
VinciGit00 Dec 31, 2024
31f5951
fix: Include agent knowledge in planning process (#1818)
devin-ai-integration[bot] Dec 31, 2024
6cae5fd
Suppressed userWarnings from litellm pydantic issues (#1833)
bhancockio Dec 31, 2024
e041103
Trying out timeouts
bhancockio Jan 2, 2025
d44eb89
Trying out timeouts
bhancockio Jan 2, 2025
fbc7230
trying next crew_test timeout
bhancockio Jan 2, 2025
50efccd
trying next crew_test timeout
bhancockio Jan 2, 2025
16d4bc1
timeout in crew_tests
bhancockio Jan 2, 2025
e7696f9
timeout in crew_tests
bhancockio Jan 2, 2025
5fd0129
more timeouts
bhancockio Jan 2, 2025
ab93fdd
more timeouts
bhancockio Jan 2, 2025
8569c2d
crew_test changes werent applied
bhancockio Jan 2, 2025
640e681
crew_test changes werent applied
bhancockio Jan 2, 2025
1237c05
revert uv.lock
bhancockio Jan 2, 2025
9d4d4d4
revert uv.lock
bhancockio Jan 2, 2025
6ba36a3
add back in crewai tool dependencies and drop litellm version
bhancockio Jan 2, 2025
11ff827
add back in crewai tool dependencies and drop litellm version
bhancockio Jan 2, 2025
8c175b8
tests should work now
bhancockio Jan 2, 2025
db61f5d
tests should work now
bhancockio Jan 2, 2025
e05cde0
more test changes
bhancockio Jan 2, 2025
5431610
more test changes
bhancockio Jan 2, 2025
98be37c
Reverting uv.lock and pyproject
bhancockio Jan 2, 2025
0088d6d
Reverting uv.lock and pyproject
bhancockio Jan 2, 2025
8535c0c
Update llama3 cassettes
bhancockio Jan 2, 2025
217ba65
Update llama3 cassettes
bhancockio Jan 2, 2025
a60c66a
sync packages with uv.lock
bhancockio Jan 2, 2025
0545294
sync packages with uv.lock
bhancockio Jan 2, 2025
9429253
more test fixes
bhancockio Jan 2, 2025
1d3b4fd
fix tets
bhancockio Jan 2, 2025
767aeb5
drop large file
bhancockio Jan 2, 2025
b5ec0ed
Fixing tests
bhancockio Jan 2, 2025
e5ee91f
final clean up
bhancockio Jan 2, 2025
51c17c7
drop record new episodes
bhancockio Jan 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies = [
# Core Dependencies
"pydantic>=2.4.2",
"openai>=1.13.3",
"litellm>=1.56.4",
"litellm>=1.44.22",
"instructor>=1.3.3",

# Text Processing
Expand Down
6 changes: 4 additions & 2 deletions tests/agent_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1457,7 +1457,7 @@ def test_agent_with_ollama_llama3():
assert agent.llm.model == "ollama/llama3.2:3b"
assert agent.llm.base_url == "http://localhost:11434"

task = "Respond in 20 words. Who are you?"
task = "Respond in 20 words. Which model are you?"
response = agent.llm.call([{"role": "user", "content": task}])

assert response
Expand All @@ -1473,7 +1473,9 @@ def test_llm_call_with_ollama_llama3():
temperature=0.7,
max_tokens=30,
)
messages = [{"role": "user", "content": "Respond in 20 words. Who are you?"}]
messages = [
{"role": "user", "content": "Respond in 20 words. Which model are you?"}
]

response = llm.call(messages)

Expand Down
864 changes: 18 additions & 846 deletions tests/cassettes/test_agent_execute_task_with_ollama.yaml

Large diffs are not rendered by default.

865 changes: 19 additions & 846 deletions tests/cassettes/test_agent_with_ollama_llama3.yaml

Large diffs are not rendered by default.

451 changes: 19 additions & 432 deletions tests/cassettes/test_llm_call_with_ollama_llama3.yaml

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions tests/cli/tools/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ def test_create_success(mock_subprocess):
with in_temp_dir():
tool_command = ToolCommand()

with patch.object(tool_command, "login") as mock_login, patch(
"sys.stdout", new=StringIO()
) as fake_out:
with (
patch.object(tool_command, "login") as mock_login,
patch("sys.stdout", new=StringIO()) as fake_out,
):
tool_command.create("test-tool")
output = fake_out.getvalue()

Expand Down Expand Up @@ -82,7 +83,7 @@ def test_install_success(mock_get, mock_subprocess_run):
capture_output=False,
text=True,
check=True,
env=unittest.mock.ANY
env=unittest.mock.ANY,
)

assert "Successfully installed sample-tool" in output
Expand Down
Loading
Loading