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

docs: README and docstrings improvements #7

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# LibertAI Agents

<div align="center">

[![pypi](https://img.shields.io/pypi/v/libertai-agents.svg)](https://pypi.org/project/libertai-agents)
[![python](https://img.shields.io/pypi/pyversions/libertai-agents.svg)](https://pypi.org/project/libertai-agents)

</div>

LibertAI Agents are highly customizable assistants that operates in a decentralized and confidential environment.\
They can be given tools to perform tasks (search something on the web, make a transaction on-chain...), making them
powerful companions.
Expand Down
7 changes: 7 additions & 0 deletions libertai_agents/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# LibertAI Agents

<div align="center">

[![pypi](https://img.shields.io/pypi/v/libertai-agents.svg)](https://pypi.org/project/libertai-agents)
[![python](https://img.shields.io/pypi/pyversions/libertai-agents.svg)](https://pypi.org/project/libertai-agents)

</div>

Framework to create and deploy decentralized agents 🚀

> ⚠ This framework is in beta and might undergo some breaking changes before the stable release.
Expand Down
2 changes: 1 addition & 1 deletion libertai_agents/libertai_agents/agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ async def generate_answer(self, messages: list[Message], only_final_answer: bool
Generate an answer based on a conversation

:param messages: List of messages previously sent in this conversation
:param only_final_answer: Only yields the final answer without include the thought process (tool calls and their response)
:param only_final_answer: Only yields the final answer without including the thought process (tool calls and their response)
:return: The string response of the agent
"""
if len(messages) == 0:
Expand Down