Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AI Resq and Resp Transformer Plugins Route_type Options Incorrect #8427

Open
2 tasks done
SheriffTwinkie opened this issue Feb 12, 2025 · 0 comments
Open
2 tasks done

Comments

@SheriffTwinkie
Copy link

Where is the problem?

https://docs.konghq.com/hub/kong-inc/ai-request-transformer/configuration/#config-llm-route_type, https://docs.konghq.com/hub/kong-inc/ai-response-transformer/configuration/#config-llm-route_type

What happened?

Both the AI Request and Response Transformer Plugin configuration reference page hold the following variable:

https://docs.konghq.com/hub/kong-inc/ai-request-transformer/configuration/#config-llm-route_type
https://docs.konghq.com/hub/kong-inc/ai-response-transformer/configuration/#config-llm-route_type

the route_type options are displayed as /chat, /completions, and preserve. However, only /chat is a viable option and the plugin only allows that option to be configured upon deployment.

What did you expect to happen?

The plugin configuration should only display the possible option of llm/v1/chat

Code of Conduct and Community Expectations

  • I agree to follow this project's Code of Conduct
  • I agree to abide by the Community Expectations
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

No branches or pull requests

1 participant