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

Example with new plugin PR#206

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

Draft
tconley1428 wants to merge1 commit intomain
base:main
Choose a base branch
Loading
fromplugin_sample
Draft

Conversation

@tconley1428
Copy link
Contributor

What was changed

Why?

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

set_open_ai_agent_temporal_overrides,
)
fromtemporalio.contrib.openai_agentsimportPlugin
fromtemporalio.contrib.pydanticimportpydantic_data_converter
Copy link
Member

Choose a reason for hiding this comment

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

This import not needed anymore either

Copy link
Contributor

Choose a reason for hiding this comment

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

[I like using a ruff IDE extension and setting format-on-save to true.]

client=awaitClient.connect(
"localhost:7233",
data_converter=open_ai_data_converter,
plugins=[Plugin()],
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we probably want to encourage plugin authors to name this object likeOpenAIAgentsPlugin so that even if imported usingfrom ... import ... it's still clear at the usage site what plugin it is.

Alternatively we could reference it asopenai_agents.Plugin, but I think encouraging the fully-qualified plugin object name makes sense.

cretz reacted with thumbs up emoji
set_open_ai_agent_temporal_overrides,
)
fromtemporalio.contrib.openai_agentsimportPlugin
fromtemporalio.contrib.pydanticimportpydantic_data_converter
Copy link
Contributor

Choose a reason for hiding this comment

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

[I like using a ruff IDE extension and setting format-on-save to true.]

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@dandavisondandavisondandavison left review comments

@cretzcretzcretz left review comments

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@tconley1428@dandavison@cretz

[8]ページ先頭

©2009-2025 Movatter.jp