Skip to content

FEAT Persist OpenAI target configurations and restore them from the database#2219

Draft
behnam-o wants to merge 1 commit into
microsoft:mainfrom
behnam-o:db-targets
Draft

FEAT Persist OpenAI target configurations and restore them from the database#2219
behnam-o wants to merge 1 commit into
microsoft:mainfrom
behnam-o:db-targets

Conversation

@behnam-o

Copy link
Copy Markdown
Contributor

Adds database-backed persistence for OpenAI target configurations.

  • Introduces OpenAITargetConfig and its memory entry for storing registry name, endpoint, model, authentication mode, and API key reference.
  • Updates backend target creation to persist supported targets in addition to registering them.
  • Stores API keys in a separately configured Azure Key Vault and persists only their references.
  • Adds a dbtargets initializer to reconstruct persisted targets and register them at startup.
  • Keeps persistence behind the memory interface rather than exposing SQLAlchemy models to backend services.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant