- 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 | ||
| chat_test.go | ||
| context.go | ||
| context_test.go | ||
| message.go | ||
| message_test.go | ||
| openapi.go | ||
| openapi_test.go | ||
| types.go | ||
| utils.go | ||