camel icon indicating copy to clipboard operation
camel copied to clipboard

[Feature Request] Added cache acceleration and other speed up mechanisms in codeagent

Open zjrwtx opened this issue 8 months ago • 4 comments

Required prerequisites

  • [x] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
  • [ ] Consider asking first in a Discussion.

Motivation

currently, the codeagent is a little slow for each query,we need a more faster mechanisms

Solution

No response

Alternatives

No response

Additional context

No response

zjrwtx avatar Apr 01 '25 15:04 zjrwtx

https://github.com/camel-ai/camel/blob/master/camel/agents/repo_agent.py

zjrwtx avatar Apr 02 '25 06:04 zjrwtx

@zjrwtx I was thinking of these:

  • Lazy loading and cache implementation
  • parallel processess and is the rag good?

GitHoobar avatar Apr 02 '25 06:04 GitHoobar

@zjrwtx I was thinking of these:

  • Lazy loading and cache implementation
  • parallel processess and is the rag good?

hello @GitHoobar ,i guess these are some points,i guess @AveryYay can help with this also?

zjrwtx avatar Apr 02 '25 07:04 zjrwtx

hey @GitHoobar , @zjrwtx , @AveryYay , we have integrated Redis in camel, check whether this could be reused to improve the efficiency: https://github.com/camel-ai/camel/blob/master/camel/storages/key_value_storages/redis.py

Wendong-Fan avatar Apr 06 '25 19:04 Wendong-Fan