-
Notifications
You must be signed in to change notification settings - Fork 107
Fix(372) agent metadata model #373
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
Merged
Merged
Changes from 6 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
c5de46e
feat(metadata): create pydantic model for agent metadata
CasperGN 08b785d
feat(metadata): consume new model for agent metadata
CasperGN d8a1a61
fix(test): update test cases to support the new pydantic model setup
CasperGN b35a1e2
feat(schema): add schema generator script
CasperGN a1981b0
feat(schema): add schema for previous and upcoming version
CasperGN 193c46d
Merge branch 'main' into fix(372)--agent-metadata-model
CasperGN aee53ec
feat: prepare metadata to be moved to python-sdk
CasperGN 2304c09
chore(format): ruff
CasperGN db36cff
fix: remove schemas, agentschema model and script to generate new schema
CasperGN 1c76468
chore: remove exports of removed funcs
CasperGN e5cc7ee
chore: remove imports of removed funcs
CasperGN e263b4b
fix: call to register for orchestrator and AgentBase
CasperGN d8ba294
Merge branch 'main' into fix(372)--agent-metadata-model
CasperGN eb3e06c
fix: correct call to metadata registration
CasperGN 7544751
chore(format): ruff
CasperGN 16da43c
Merge branch 'main' into fix(372)--agent-metadata-model
CasperGN 7e6ccc6
fix: revert metadata back to dapr agents instead of python-sdk
CasperGN 80bcead
feat(metadata): ensure agent deregisters upon shutdown
CasperGN 5d32365
Merge remote-tracking branch 'origin/main' into fix(372)--agent-metad…
CasperGN ac4142c
fix: pre-commit trim
CasperGN 6c1942c
fix: address pr comments
CasperGN 3ca0ee5
feat(registry): rework agent registry to store agents as individual k…
CasperGN b92d9fd
chore(format): handle pre-commit
CasperGN d439001
Merge branch 'main' into fix(372)--agent-metadata-model
sicoyle 152f874
chore: generate new metadata schema for changes
CasperGN 74be3df
chore: pre-commit
CasperGN c708874
fix: address pr comments
CasperGN 2422028
chore: pre-commit
CasperGN 95a7d46
fix: enure orchestrator isn't hardcoded but rather infered
CasperGN 25d069a
Merge branch 'main' into fix(372)--agent-metadata-model
CasperGN 5bbc8d7
test(ci): include golden-file test for metadata schema. Break build i…
CasperGN 059012c
chore(format): ruff
CasperGN bad176b
fix: ensure short/long term memory differ, formatting and import clea…
CasperGN cc83a47
chore(format): pre-commit
CasperGN f791fbc
fix(ci): ensure correct scoped token
CasperGN 71b235a
fix(ci): we don't have access to the token on a pull_request trigger …
CasperGN File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,25 @@ | ||
| from .base import AgentBase | ||
| from .standalone import Agent | ||
| from .durable import DurableAgent | ||
| from .schemas import ( | ||
| AgentMetadataSchema, | ||
| AgentMetadata, | ||
| LLMMetadata, | ||
| ToolMetadata, | ||
| RegistryMetadata, | ||
| MemoryMetadata, | ||
| PubSubMetadata, | ||
| ) | ||
|
|
||
| __all__ = ["AgentBase", "Agent", "DurableAgent"] | ||
| __all__ = [ | ||
| "AgentBase", | ||
| "Agent", | ||
| "DurableAgent", | ||
| "AgentMetadataSchema", | ||
| "AgentMetadata", | ||
| "LLMMetadata", | ||
| "ToolMetadata", | ||
| "RegistryMetadata", | ||
| "MemoryMetadata", | ||
| "PubSubMetadata", | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.