openai / openai/openai-openapi
Error illegal start type private CreateCompletionRequestPrompt prompt = <|endtotext|>
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 2.5k
- Forks
- 527
- Avg merge
- 1h 46m
- Merged PRs (30d)
- 2
Description
I have download OpenApi spec for chatgpt in my project(I used springboot Java) with build gradle. It Is generted Api , when it was running the application , the CLI give a show error.
Error : illegal start type private CreateCompletionRequestPrompt prompt = <| endtotext |>
CreateCompletionRequestPrompt Class
Row 66
Why? Do I have a configuration something after it Is download OpenApi?
Thank you
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect the generated CreateCompletionRequestPrompt class at row 66 and the OpenAPI specification or generation configuration used by the reporter. Reproduce the Gradle build to identify whether the invalid declaration comes from the specification or code generation; done means the generated Java source compiles without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, openapi, spring-boot
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100