Skip to content

Conversation

@hendrixmar
Copy link
Contributor

@hendrixmar hendrixmar commented Jul 17, 2025

Description

Added the list_actions method to the OpenAI compatibility plugin and refactored the base Plugin class contract.

Changes

  • Added list_actions cached property to dynamically discover available OpenAI models
  • Refactored base Plugin class to support dynamic action discovery

Testing

Added unit tests covering:

  • Dynamic model discovery
  • Correct metadata generation for both embedding and text generation models
  • Caching behavior of the list_actions property

Documentation

Updated relevant documentation to reflect the new functionality and base class changes.

Related Issue(s)

Closes #3151

Checklist

  • Tests added/updated
  • Documentation updated
  • Type hints maintained
  • Follows project code style
  • Backwards compatible changes

@hendrixmar hendrixmar self-assigned this Jul 17, 2025
@github-actions github-actions bot added feature New feature or request python Python labels Jul 17, 2025
@hendrixmar hendrixmar force-pushed the hendrixmar/feature/add_list_actions branch from b645586 to 6de2ac4 Compare July 17, 2025 19:01
@hendrixmar hendrixmar marked this pull request as ready for review July 17, 2025 20:49
@hendrixmar hendrixmar merged commit 026bbf4 into main Jul 21, 2025
9 checks passed
@hendrixmar hendrixmar deleted the hendrixmar/feature/add_list_actions branch July 21, 2025 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request python Python

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Py] Implement list_actions method for openai plugin

2 participants