Spaces:
Runtime error
Runtime error
Commit History
-
β¨ feat(ai.py): add traceable decorator to get_anthropic_response methods for better debugging and trackingβ
Unverified signatureπ§ chore(ai.py): import traceable from langsmith.run_helpers to enable tracing of method calls π§ refactor(app.py): replace regex with string formatting for prompt creation to improve readability and maintainability π§ refactor(app.py): replace direct usage of Prompts with ClaudeDefaultFormatter for better abstraction π§ refactor(app.py): rename variable 'prompt' to 'finalPrompt' for better clarity π§ refactor(app.py): replace 'prompt' with 'finalPrompt' in AnthropicCustom instantiation for consistency π§ refactor(app.py): replace 'prompt' with 'finalPrompt' in condition checking for better clarity π§ refactor(app.py): replace 'prompt' with 'finalPrompt' in string formatting for better clarity π§ refactor(app.py): replace 'prompt' with 'finalPrompt' in string substitution for better clarity π§ refactor(app.py): replace 'prompt' with 'finalPrompt' in string formatting for better clarity π§ refactor(app.py): replace 'prompt' with 'finalPrompt' in string substitution for better clarity οΏ½β¦e6f89d5
-
π§ refactor(ai.py): reorder imports and improve code readabilityβ
Unverified signatureπ§ refactor(Dockerfile): replace poetry build and pip install with poetry install for simplicity π§ refactor(.dockerignore, .gitignore): add newline at end of file for POSIX compliance β¨ feat(.flake8, .pre-commit-config.yaml): add flake8 and pre-commit configuration files for better code quality control π¨ style(app.py, const.py, makefile): improve code readability by reformatting code and removing unnecessary whitespace π₯ remove(anthropic): remove unused import in const.py for cleaner code π§ chore(pyproject.toml): add flake8, pre-commit to dev-dependencies for better code quality control π§ chore(pyproject.toml): configure isort and black for consistent code formatting π¨ style(settings.py): improve code formatting to adhere to PEP8 standards42cdc8f -
π feat: add Docker support, AI interaction, and chat interfaceβ
Unverified signatureπ³ chore: add Dockerfile and .dockerignore for Docker support π€ feat(ai.py): add AI interaction with anthropic API π¬ feat(app.py): add chat interface with AI using gradio π§ chore(makefile): add makefile for easy start command π chore(.gitignore): add .gitignore to ignore unnecessary files π chore(const.py): add constants for models, token lengths, and prompts β¨ feat: add pyproject.toml and settings.py for project configuration π docs(pyproject.toml): define project metadata and dependencies using poetry π§ chore(settings.py): add settings file to manage environment variables35cce96