Aymeric Roucher
20383f0914
Fix regressions, refactor logging and improve replay function ( #419 )
...
* Refactor logging and improve replay function
* Fix test
* Remode unnecessary dict method
* Remove logger import
---------
Co-authored-by: Albert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com>
2025-01-30 11:32:28 +01:00
Clémentine Fourrier
c6eb9526f1
Untangling Logging ( #316 )
...
* Deep refacto that disentangled logging logic between logging (informing the user via console outputs) and memory (storing what happened in the agent).
---------
Co-authored-by: benediktstroebl <50178209+benediktstroebl@users.noreply.github.com>
Co-authored-by: Aymeric <aymeric.roucher@gmail.com>
2025-01-29 16:27:04 +01:00
Aymeric Roucher
49c34f625c
Gradio chatbot: step duration, number, token count, support nested thoughts ( #384 )
...
* Add enhanced Gradio UI with nested agents calls, execution-logs, errors
- Add virtual separation between steps
- Highlight final answer as required in internal discussion
- Show step numbers and token counts
- Include step duration tracking
- Improve message display structure
---------
Co-authored-by: Yuvraj Sharma <48665385+yvrjsharma@users.noreply.github.com>
2025-01-28 09:24:13 +01:00
Nicholas Broad
ec45d6766a
minor fix for console in AgentLogger ( #303 )
...
* minor fix for console in AgentLogger
2025-01-22 10:41:05 +01:00
Lucain
3178b18aab
Remove unused and undocumented parameter ( #273 )
2025-01-20 10:45:55 +01:00
Lucain
6e1373a324
Add linter rules + apply make style ( #255 )
...
* Add linter rules + apply make style
2025-01-18 19:01:15 +01:00
Aymeric Roucher
06aca55be6
Fix import from ChatMessage in test_monitoring ( #202 )
2025-01-15 14:03:41 +01:00
Aymeric Roucher
5f32373551
Make default tools more robust ( #186 )
2025-01-14 14:57:11 +01:00
Aymeric Roucher
5c33130fa4
Vastly simplify Model class ✨ ( #146 )
...
* Vastly simplify Model class by making only one __call__ method ✨
2025-01-10 12:30:59 +01:00
Aymeric
c22fedaee1
Sort imports and add test workflows
2025-01-06 21:48:15 +01:00
Aymeric
e9119c9df5
Replace max_iteration with max_steps for consistency
2025-01-06 17:25:45 +01:00
Aymeric
54d6857da2
Pass tests
2024-12-30 18:03:53 +01:00
Aymeric
8005d6f21d
Change name 'llm_engine' to 'model'
2024-12-25 21:51:43 +01:00
Aymeric
3a70e17cae
Remove direct support for openai and anthropic engines, one can use LiteLLM
2024-12-24 23:36:46 +01:00
Aymeric
1e357cee7f
Add LiteLLM engine
2024-12-24 17:34:14 +01:00
Aymeric
edb0be3adf
Change all names to 'smolagent'
2024-12-24 10:31:36 +01:00
Aymeric
9232528232
Add examples to use any LLM as engine
2024-12-13 19:48:55 +01:00
Aymeric
465614295d
Improve documentation on agent building tips
2024-12-12 10:09:51 +01:00
Aymeric
67deb6808f
Ruff formatting
2024-12-11 16:16:18 +01:00
Aymeric
f3dcf1f013
Initialize repo structure.
2024-12-06 17:46:42 +01:00