- Renamed and restructured the TestNewOpenAPI function to TestGetCompletionRequest for clarity. - Updated test cases to validate completion requests using a structured request body instead of query parameters. - Enhanced error handling and assertions to ensure comprehensive coverage of various scenarios, including metadata handling and expected outputs. - Removed the obsolete openapi_chat_test.go file to streamline the test suite. |
||
|---|---|---|
| .. | ||
| chat.go | ||
| completions.go | ||
| types.go | ||