Skip to content

Commit 55d9ec5

Browse files
committed
Merge branch 'memory-v2-dict-fix-ag-3058' of https://github.com/agno-agi/agno into memory-v2-dict-fix-ag-3058
2 parents ce58e95 + d4e626f commit 55d9ec5

File tree

189 files changed

+10571
-2733
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

189 files changed

+10571
-2733
lines changed
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
name: Bug Report
2+
description: Report an issue to help us fix bugs and improve your experience.
3+
title: "[Bug] "
4+
labels: ["bug"]
5+
assignees:
6+
- ""
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: |
11+
Thanks for taking the time to fill out this bug report! Please provide as much detail as possible.
12+
- type: textarea
13+
id: description
14+
attributes:
15+
label: Description
16+
description: Briefly describe the issue you’re experiencing or the bug you’ve found.
17+
placeholder: A clear and concise description of what the bug is.
18+
validations:
19+
required: true
20+
- type: textarea
21+
id: steps-to-reproduce
22+
attributes:
23+
label: Steps to Reproduce
24+
description: List the exact steps needed to encounter this bug or issue.
25+
placeholder: |
26+
1. Go to '...'
27+
2. Click on '....'
28+
3. Scroll down to '....'
29+
4. See error
30+
validations:
31+
required: true
32+
- type: textarea
33+
id: agent-config
34+
attributes:
35+
label: Agent Configuration (if applicable)
36+
description: If the bug relates to a specific agent setup, provide relevant configuration details.
37+
placeholder: |
38+
```python
39+
# Your agent configuration code here
40+
```
41+
validations:
42+
required: false
43+
- type: textarea
44+
id: expected-behavior
45+
attributes:
46+
label: Expected Behavior
47+
description: What did you expect to happen?
48+
placeholder: A clear description of what you expected.
49+
validations:
50+
required: true
51+
- type: textarea
52+
id: actual-behavior
53+
attributes:
54+
label: Actual Behavior
55+
description: What actually happened instead?
56+
placeholder: A clear description of what happened.
57+
validations:
58+
required: true
59+
- type: textarea
60+
id: logs
61+
attributes:
62+
label: Screenshots or Logs (if applicable)
63+
description: Include any relevant screenshots or error logs that demonstrate the issue. Use code blocks for logs.
64+
placeholder: |
65+
```log
66+
Paste your logs here
67+
```
68+
(You can also drag and drop images)
69+
validations:
70+
required: false
71+
- type: textarea
72+
id: environment
73+
attributes:
74+
label: Environment
75+
description: Please provide details about the environment where you encountered the bug.
76+
placeholder: |
77+
- OS: [e.g. macOS Sonoma, Windows 11]
78+
- Browser (if relevant): [e.g. Chrome 120, Firefox 119]
79+
- Agno Version: [e.g. v0.5.1]
80+
- External Dependency Versions: [e.g., openai 1.3.5, langchain 0.0.350]
81+
- Additional Environment Details: [e.g., Python 3.11.5]
82+
render: markdown
83+
validations:
84+
required: true
85+
- type: textarea
86+
id: possible-solutions
87+
attributes:
88+
label: Possible Solutions (optional)
89+
description: Suggest any ideas you might have to fix or address the issue.
90+
validations:
91+
required: false
92+
- type: textarea
93+
id: additional-context
94+
attributes:
95+
label: Additional Context
96+
description: Add any other context or details about the problem here.
97+
validations:
98+
required: false

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Ask a question or discuss
4+
url: https://community.agno.com/
5+
about: Please ask and answer questions here.
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Feature Request
2+
description: Suggest a feature or enhancement to make Agno even better.
3+
title: "[Feature Request] "
4+
labels: ["enhancement"]
5+
assignees:
6+
- ""
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: |
11+
Thanks for suggesting an idea! Please describe your feature request in detail.
12+
- type: textarea
13+
id: problem-description
14+
attributes:
15+
label: Problem Description
16+
description: Provide a clear and concise explanation of the problem or limitation you're facing. Why is this feature needed?
17+
placeholder: "Example: I often find it frustrating when [...] because [...]"
18+
validations:
19+
required: true
20+
- type: textarea
21+
id: proposed-solution
22+
attributes:
23+
label: Proposed Solution
24+
description: Explain your ideal solution. How should this feature work? Be as detailed as possible.
25+
placeholder: Describe how the feature should function, potential UI changes, API design, etc.
26+
validations:
27+
required: true
28+
- type: textarea
29+
id: alternatives-considered
30+
attributes:
31+
label: Alternatives Considered
32+
description: Have you found any workarounds or alternative solutions? Share other approaches you've tried or thought about.
33+
validations:
34+
required: false
35+
- type: textarea
36+
id: additional-context
37+
attributes:
38+
label: Additional Context
39+
description: Include any extra information that might be helpful (screenshots, examples of similar features elsewhere, relevant links).
40+
validations:
41+
required: false
42+
- type: checkboxes
43+
id: contribution
44+
attributes:
45+
label: Would you like to work on this?
46+
description: We welcome contributions! Let us know if you’d like to help implement this feature.
47+
options:
48+
- label: Yes, I’d love to work on it!
49+
- label: I’m open to collaborating but need guidance.
50+
- label: No, I’m just sharing the idea.
51+
validations:
52+
required: false

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/pr-lint.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: PR Lint
2+
3+
on:
4+
pull_request:
5+
types: [opened, edited, synchronize]
6+
7+
jobs:
8+
lint-pr:
9+
name: Lint PR Title and Body
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Check PR Title Format
13+
run: |
14+
TITLE="${{ github.event.pull_request.title }}"
15+
REGEX="^(\[(feat|fix|docs|test|refactor|build|ci|chore|perf|style|revert)\]\\s*.+|(feat|fix|docs|test|refactor|build|ci|chore|perf|style|revert):\\s*.+)"
16+
if [[ ! "$TITLE" =~ $REGEX ]]; then
17+
echo "❌ PR Title '$TITLE' does not match the required format '[type] subject' or 'type: subject'."
18+
echo " Please start your PR title with a valid type like [feat], [fix], feat:, fix:, etc., followed by a space and the subject."
19+
exit 1
20+
else
21+
echo "✅ PR Title format is valid."
22+
fi

CONTRIBUTING.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,22 @@ Please follow the [fork and pull request](https://docs.github.com/en/get-started
88

99
- Fork the repository.
1010
- Create a new branch for your feature.
11-
- Add your feature or improvement.
12-
- Send a pull request.
13-
- We appreciate your support & input!
11+
- Add your feature or improvement.
12+
- **Ensure your Pull Request follows our guidelines (see below).**
13+
- Send a pull request.
14+
- We appreciate your support & input!
1415

16+
## Pull Request Guidelines
17+
18+
To maintain a clear and organized project history, please adhere to the following guidelines when submitting Pull Requests:
19+
20+
1. **Title Format:** Your PR title must start with a type tag enclosed in square brackets, followed by a space and a concise subject.
21+
- Example: `[feat] Add user authentication`
22+
- Valid types: `[feat]`, `[fix]`, `[docs]`, `[test]`, `[refactor]`, `[build]`, `[ci]`, `[chore]`, `[perf]`, `[style]`, `[revert]`.
23+
2. **Link to Issue:** The PR description should ideally reference the issue it addresses using keywords like `fixes #<issue_number>`, `closes #<issue_number>`, or `resolves #<issue_number>`.
24+
- Example: `This PR fixes #42 by implementing the new login flow.`
25+
26+
_These guidelines are enforced automatically by our [PR Lint workflow](.github/workflows/pr-lint.yml)._
1527

1628
## Development setup
1729

cookbook/agent_concepts/context/context_in_instructions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ def get_upcoming_spacex_launches(num_launches: int = 5) -> str:
1212
launches = sorted(launches, key=lambda x: x["date_unix"])[:num_launches]
1313
return json.dumps(launches, indent=4)
1414

15+
1516
# Create an Agent that has access to real-time SpaceX data
1617
agent = Agent(
1718
model=OpenAIChat(id="gpt-4.1"),

cookbook/agent_concepts/knowledge/filters/__init__.py

Whitespace-only changes.
36.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)