Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

update logos, favicon and brand names#2193

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Changes from1 commit
Commits
Show all changes
26 commits
Select commitHold shift + click to select a range
966c3f8
update logos, favicon and brand names
GSemikozovJul 13, 2025
befbca5
format code
GSemikozovJul 13, 2025
64045fd
format code
GSemikozovJul 13, 2025
fca3220
change logo color
GSemikozovJul 13, 2025
7af59cd
sm fix
GSemikozovJul 13, 2025
16ee22a
replace old brand name
GSemikozovJul 14, 2025
88118ce
fixes
GSemikozovJul 14, 2025
b5e1155
fixes
GSemikozovJul 14, 2025
4c5132c
fixes
GSemikozovJul 14, 2025
e44f395
fixes
GSemikozovJul 14, 2025
953a8c8
Merge branch 'main' into herman/PYD-2115/migrate-brand-for-all-websit…
GSemikozovJul 14, 2025
b3564e5
fix
GSemikozovJul 14, 2025
75ec47e
fix syntax issues
GSemikozovJul 14, 2025
7ce8dc4
fix syntax issues
GSemikozovJul 14, 2025
afb60f6
fix syntax issues
GSemikozovJul 14, 2025
738640f
restore admonitions
GSemikozovJul 15, 2025
02d101d
fix
GSemikozovJul 15, 2025
2a59de2
fix docs
GSemikozovJul 15, 2025
1508569
fix docs
GSemikozovJul 15, 2025
1f3df5e
Merge branch 'main' into herman/PYD-2115/migrate-brand-for-all-websit…
GSemikozovJul 15, 2025
c8b38b9
fix docs
GSemikozovJul 15, 2025
a4aba97
fix docs
GSemikozovJul 15, 2025
3409ce6
resolve conflicts
GSemikozovJul 17, 2025
7cde5ef
fix
GSemikozovJul 17, 2025
1ee9e6a
fix
GSemikozovJul 17, 2025
9ae91ce
Merge branch 'main' into herman/PYD-2115/migrate-brand-for-all-websit…
GSemikozovJul 17, 2025
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
PrevPrevious commit
NextNext commit
sm fix
  • Loading branch information
@GSemikozov
GSemikozov committedJul 13, 2025
commit7af59cd0eabd25536bdcf5a18c29b7033fd2c84f
2 changes: 1 addition & 1 deletiondocs/agents.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -96,7 +96,7 @@ You can also pass messages from previous runs to continue a conversation or prov

### Iterating Over an Agent's Graph

Under the hood, each `Agent` in Pydantic AI uses **Pydantic Graph** to manage its execution flow. **Pydantic Graph** is a generic, type-centric library for building and running finite state machines in Python. It doesn't actually depend on Pydantic AI — you can use it standalone for workflows that have nothing to do with GenAI — but Pydantic AI makes use of it to orchestrate the handling of model requests and model responses in an agent's run.
Under the hood, each `Agent` in Pydantic AI uses **pydantic-graph** to manage its execution flow. **pydantic-graph** is a generic, type-centric library for building and running finite state machines in Python. It doesn't actually depend on Pydantic AI — you can use it standalone for workflows that have nothing to do with GenAI — but Pydantic AI makes use of it to orchestrate the handling of model requests and model responses in an agent's run.

In many scenarios, you don't need to worry about pydantic-graph at all; calling `agent.run(...)` simply traverses the underlying graph from start to finish. However, if you need deeper insight or control — for example to capture each tool invocation, or to inject your own logic at specific stages — Pydantic AI exposes the lower-level iteration process via [`Agent.iter`][pydantic_ai.Agent.iter]. This method returns an [`AgentRun`][pydantic_ai.agent.AgentRun], which you can async-iterate over, or manually drive node-by-node via the [`next`][pydantic_ai.agent.AgentRun.next] method. Once the agent's graph returns an [`End`][pydantic_graph.nodes.End], you have the final result along with a detailed history of all steps.

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp