Skip to content

fix(python): make basic OpenAI agent entry point importable - #2830

Closed
tryambak2019 wants to merge 1 commit into
kagent-dev:mainfrom
tryambak2019:fix/2689-openai-basic-agent-startup
Closed

tryambak2019 wants to merge 1 commit into
kagent-dev:mainfrom
tryambak2019:fix/2689-openai-basic-agent-startup

Conversation

@tryambak2019

Copy link
Copy Markdown
Contributor

Summary

Restore the published basic OpenAI agent package entry point and validate its limited startup path.

Implemented

  • Add the basic-openai-agent console entry point.
  • Extract build_app() while preserving the package's public app export.
  • Run the container through the installed entry point so package imports resolve.
  • Add CI coverage that invokes main() with Uvicorn mocked and verifies GET /health.

Validation

  • OPENAI_API_KEY=fake make -C python test: 552 passed, 1 skipped.
  • uv lock --check, Ruff lint, and Ruff format checks passed.
  • Basic OpenAI agent image builds successfully.

#2689 Series

Related to #2689. This PR does not close it.

@tryambak2019

Copy link
Copy Markdown
Contributor Author

Superseded by #2887, which consolidates the requested Python startup and documentation changes for review.

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

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant