gemma-endpoint-test / test_app.py

Commit History

  1. Update waiting state messaging in app.py to provide clearer feedback when the endpoint is inactive. Adjust tests to validate the new placeholder behavior and ensure proper spinner functionality during waiting periods.

    b3b0bdf
  2. Refactor endpoint handling in app.py to utilize a NamedTuple for model endpoints, improving token management and logging. Update README to reflect new environment variable requirements and enhance test coverage for model-specific token usage and error handling.

    05ee7f4
  3. Update app.py to increase MAX_TOKENS for reasoning models, introduce THINK_OPEN and THINK_CLOSE tags for reasoning content, and enhance chat controls. Add new chat functionality and improve model labeling. Update tests to validate reasoning handling and chat controls visibility.

    9b4a365
  4. Refactor model handling in chat app to support multiple endpoints for Gemma, Qwen, and DeepSeek. Update README with new environment variable requirements and enhance tests for model-specific endpoint functionality.

    28f63c1

  1. Fix UTF-8 decoding for SSE responses to prevent mojibake in non-ASCII text

    9781ea9

  1. Add support for cold endpoint handling with retry logic and timeout configuration

    cba7f69
  2. Add logging for streaming responses and enhance README configuration details

    a8723cc

  1. Enhance chat app functionality with incremental streaming and control locking

    9787d64
  2. Expose demo for Gradio Spaces hot reload and update main launch logic

    b79d615
  3. Implement streaming responses in chat app and update tests for new behavior

    f072d11
  4. Add .gitignore, update requirements, and implement tests for chat app functionality

    1637033