Closed twilwa closed 11 months ago
The api key needs to be removed if you want it to use the override
if the overrided endpoint needs an api key, how would i handle that
It doesn't, the cog only supports either OpenAI or self-hosted models, not other APIs that use keys.
Describe the bug A clear and concise description of what the bug is. the assistant continues to call the openai endpoint, regardless of overwrites. overwrite confirmation message appears **Cog Version* Specify the version of the cog you are using. assistant To Reproduce** Steps to reproduce the behavior: !assist endpoint [non-openai-url] Endpoint overwritten! !assist openaikey [key for Openai] @bot , hello? bot replies
Expected behavior A clear and concise description of what you expected to happen. !assist endpoint [non-openai-url] Endpoint overwritten! !assist openaikey [key for Openai] @bot , hello? bot responds 'invalid api key'
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.