`CONTEXT_LENGTH` default to 4096, and warning for context, add 422 logger, refactor prompt template (#70)