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

feat: Merge the modifications resulting from integrating with the agent store. #768

Merged
merged 27 commits into from
Jan 22, 2024

Conversation

iorisa
Copy link
Collaborator

@iorisa iorisa commented Jan 17, 2024

Features

  • fixbug: Role.think()
  • rename first_action to action_description
  • update numpy==1.24.3 to numpy>=1.24.3
  • update version to "0.7.0"

geekan and others added 21 commits January 4, 2024 12:59
fixbug: recursive search for provider
feat: Disable the DEFAULT_PROVIDER in console mode.
fixbug: an unexpected UserRequirement type message is thrown when there is nothing to do.
fixbug: rename folder does not work in windows os
feat: Moderation + llm arg

feat: +log
fixbug: RPC think
metagpt/document_store/faiss_store.py Outdated Show resolved Hide resolved
@@ -524,6 +524,7 @@ def is_idle(self) -> bool:

async def think(self) -> Action:
"""The exported `think` function"""
await self._observe()
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why _observe here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These interfaces are designed for use by the agent store.
In the early design of the agent store interface, the observation behavior was implemented externally through direct memory operations without being encapsulated into an "observe" interface.
To ensure compatibility, the observation behavior has now been incorporated into the "think" interface.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are still some counter-instincts in the think _observe, can you add the reason to the comments?

metagpt/roles/role.py Show resolved Hide resolved
@iorisa iorisa requested a review from geekan January 21, 2024 07:55
@geekan geekan merged commit 9d452a9 into geekan:dev Jan 22, 2024
1 of 2 checks passed
@iorisa iorisa deleted the feature/merge/v0.6-release branch March 19, 2024 03:43
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.

4 participants