Add a dummy API provider that does not rely on a REST API. Make it easier to try out the library.
Dummy API provider responses
- Hardcode a few suggestions
- README's sample paragraph (
samples/example.txt)
- Call the Anthropic API to get the real responses, then save the responses in the code.
- If no hardcoded suggestions are found, then flag the first 3 words in the paragraph.
Warn on startup in minibuffer to configure an API provider
Each Dummy suggestion should note that it's a dummy. Include a hint to configure an API provider.
Possibly speed up onboarding for new users. Maybe we can simplify the README for fast "try it out". Then the code could prompt the user to configure a real API provider. The dummy API provider could be the the default or maybe just the configuration in the Quick Start.
Add a dummy API provider that does not rely on a REST API. Make it easier to try out the library.
Dummy API provider responses
samples/example.txt)Warn on startup in minibuffer to configure an API provider
Each Dummy suggestion should note that it's a dummy. Include a hint to configure an API provider.
Possibly speed up onboarding for new users. Maybe we can simplify the README for fast "try it out". Then the code could prompt the user to configure a real API provider. The dummy API provider could be the the default or maybe just the configuration in the Quick Start.