Skip to content

Conversation

@acharneski
Copy link
Member

@acharneski acharneski commented Nov 25, 2025

This pull request introduces several improvements and refactorings focused on logging consistency, code simplification, and enhanced debugging across multiple modules. The main changes include standardizing log message formatting using a new indent utility, improving the clarity and structure of logs (especially for HTTP requests/responses and Gemini SDK interactions), and minor updates such as version bumps and new task registrations.

Logging and Formatting Improvements:

  • Refactored log message formatting throughout HttpClientManager, OpenAIClient, ChatClientBase, and EmbeddingClientBase to use a unified indent utility, resulting in cleaner and more readable logs. This change also introduces Markdown and HTML details formatting for complex logs, especially for HTTP requests and responses, improving debugging and traceability. [1] [2] [3] [4] [5] [6] [7]

  • Enhanced the Gemini SDK chat client to log both requests and responses in a detailed, Markdown-friendly format, including inline image previews (with resizing for large images) and base64 encoding for binary data. This significantly improves the ability to inspect and debug multi-modal interactions. [1] [2] [3]

Codebase Maintenance and Consistency:

  • Replaced repetitive and verbose line-by-line string formatting with the new indent utility across multiple files, reducing boilerplate and improving maintainability. [1] [2] [3]

  • Updated method signatures in logging functions to support the new formatting approach and to allow toggling formatting as needed. [1] [2]

Task Registration and Versioning:

  • Registered a new ComicBookGenerationTask in the TaskType registry, enabling support for this new task type in the planning module.

  • Bumped library and plugin versions from 2.0.30 to 2.0.31 in gradle.properties.

Introduces ImageTableTask for generating AI-created image grids and TableCompilationTask for AI-driven table compilation. Registers both tasks in TaskType, updates WriteHtmlTask to use child image chat clients, and refactors SessionTask to use the correct UI link method.
Added comprehensive markdown analyses for MinkowskiCausalLayer and MinkowskiRBFLayer, including formal definitions, gradient derivations, stability, Lipschitz, and numerical analyses, as well as reference implementations in PyTorch, JAX, and mathematical pseudocode. Updated NeuralNetworkLayerTask.kt to support or reference these new layer types.
@acharneski acharneski merged commit 833baab into main Nov 30, 2025
7 checks passed
@acharneski acharneski deleted the 2.0.31 branch November 30, 2025 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants