Skip to content

Examples and agent templates: guardrail so initialize_runtime() is not invoked per request #33

@u2135

Description

@u2135

Summary

“Vibe coding” with examples may lead to calling initialize_runtime() in the wrong lifecycle scope.

Acceptance criteria

  • Audit examples/ (e.g. OpenAI Agents README) and any starter templates: init once at app/agent worker startup.
  • Add a short “Performance pitfalls” subsection: per-request init, per-intercept preprocess.

References

  • examples/openai_agents/README.md (and related entrypoints)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions