-LAN-
559ab46ee1
fix: Removes redundant token calculations and updates dependencies
...
Eliminates unnecessary pre-calculation of token limits and recalculation of max tokens
across multiple app runners, simplifying the logic for prompt handling.
Updates tiktoken library from version 0.8.0 to 0.9.0 for improved tokenization performance.
Increases default token limit in TokenBufferMemory to accommodate larger prompt messages.
These changes streamline the token management process and leverage the latest
improvements in the tiktoken library.
Fixes potential token overflow issues and prepares the system for handling larger
inputs more efficiently.
Relates to internal optimization tasks.
Signed-off-by: -LAN- <[email protected] >
2025-04-28 15:39:12 +08:00
8429877b02
fix: Agent is configured for ReAct inference mode, an error is reported when viewing the agent log ( #12920 )
...
Co-authored-by: crazywoola <[email protected] >
2025-01-22 13:20:32 +08:00
yihong and GitHub
56e15d09a9
feat: mypy for all type check ( #10921 )
2024-12-24 18:38:51 +08:00
Bowen Liang and GitHub
240b66d737
chore: avoid implicit optional in type annotations of method ( #8727 )
2024-10-09 14:36:43 +08:00
Bowen Liang and GitHub
40fb4d16ef
chore: refurbish Python code by applying refurb linter rules ( #8296 )
2024-09-12 15:50:49 +08:00
Bowen Liang and GitHub
2cf1187b32
chore(api/core): apply ruff reformatting ( #7624 )
2024-09-10 17:00:20 +08:00
Nam Vu and GitHub
dbc1ae45de
chore: update docstrings ( #7343 )
2024-08-16 14:19:01 +08:00
Pedro Gomes and GitHub
20d3e1d297
Fix increase_usage of total_price in agent_runner ( #6688 )
2024-08-04 14:42:22 +08:00
4e2de638af
feat: add ops trace ( #5483 )
...
Co-authored-by: takatost <[email protected] >
2024-06-26 17:33:29 +08:00
非法操作 and GitHub
b8926ea267
fix: DuckDuckGo image search tool error ( #5606 )
2024-06-26 13:21:40 +08:00
369a395ee9
fix: resolve issue with cot_agent_runner not analyzing user-uploaded images correctly ( #5360 )
...
Co-authored-by: crazywoola <[email protected] >
2024-06-18 18:15:41 +08:00
sino and GitHub
edffa5666d
fix: got unknown type of prompt message in multi-round ReAct agent chat ( #5245 )
2024-06-17 21:20:17 +08:00
sino and GitHub
4f0488abb5
fix: wrong order of history prompts in ReAct agent mode ( #5236 )
2024-06-15 10:53:30 +08:00
Bowen Liang and GitHub
f976740b57
improve: mordernizing validation by migrating pydantic from 1.x to 2.x ( #4592 )
2024-06-14 01:05:37 +08:00
afed3610fc
fix organize agent's history messages without recalculating tokens ( #4324 )
...
Co-authored-by: chenyongzhao <[email protected] >
2024-05-29 15:25:20 +08:00
sino and GitHub
528faceb35
fix: cot agent token usage is empty ( #4474 )
2024-05-17 14:45:20 +08:00
Yeuoly and GitHub
c2a8fa91b1
fix: cot gent duplicate messages ( #4470 )
2024-05-17 13:32:02 +08:00
sino and GitHub
b1399cd5f9
fix: unable to fetch CoT agent runner log ( #4052 )
2024-05-03 08:54:15 +08:00
Yeuoly and GitHub
cea107b165
Refactor/react agent ( #3355 )
2024-04-11 18:34:17 +08:00
14bb0b02ac
Feat/Agent-Image-Processing ( #3293 )
...
Co-authored-by: Joel <[email protected] >
2024-04-10 14:48:40 +08:00
Yeuoly and GitHub
a2c068d949
feat: moonshot function call ( #3227 )
2024-04-09 15:30:09 +08:00
7753ba2d37
FEAT: NEW WORKFLOW ENGINE ( #3160 )
...
Co-authored-by: Joel <[email protected] >
Co-authored-by: Yeuoly <[email protected] >
Co-authored-by: JzoNg <[email protected] >
Co-authored-by: StyleZhang <[email protected] >
Co-authored-by: jyong <[email protected] >
Co-authored-by: nite-knite <[email protected] >
Co-authored-by: jyong <[email protected] >
2024-04-08 18:51:46 +08:00