Spaces:
Runtime error
Runtime error
Commit History
-
π§ refactor(ai.py): add RunTree parameter to AnthropicCustom class for better traceabilityβ
Unverified signatureβ¨ feat(ai.py): add get_final_response method to post run details to LANGCHAIN_ENDPOINT π§ refactor(ai.py): modify get_anthropic_response_async to append each line to final_response π§ refactor(ai.py): add __str__, __repr__, and __iter__ methods to return final_response π§ refactor(const.py): update CSS for better layout and responsiveness π₯ remove(const.py): remove Instant1_3 from ClaudeModels enum as it's no longer used β¨ feat(settings.py): add LANGCHAIN_API_KEY, LANGCHAIN_ENDPOINT, and LANGCHAIN_PROJECT to Settings class for new feature integration4d6ca8c -
π¨ style(app.py, const.py): add CSS to improve layout of Claude Space interfaceβ
Unverified signature⨠feat(app.py): add CSS to gr.TabbedInterface to enhance user experience74b0129 -
β¨ 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, app.py): optimize imports and improve code readabilityβ
Unverified signatureπ§ refactor(ai.py): move instantiation of Anthropic clients into methods to ensure correct API key usage π§ refactor(app.py): add API key validation and improve error messages for better user experience π§ refactor(settings.py): load environment variables at the start of the file for better code organization π§ refactor(Dockerfile): add creation of 'flagged' and 'gradio_cached_examples' directories to Dockerfile π§ refactor(.gitignore): remove comment to actually ignore 'flagged' and 'gradio_cached_examples' directories74dace5 -
π§ chore(.gitignore): uncomment 'flagged' and 'gradio_cached_examples' to track these files in version control
Unverified signature32ff0c9 -
π³ fix(Dockerfile): change CMD from python app.py to uvicorn claude_space.app:gd to use Uvicorn as ASGI serverβ
Unverified signatureβ¨ feat(claude_space): add ai.py, app.py, const.py, settings.py for AI interaction and server setup π§ chore(pyproject.toml): add isort to dependencies for better code formatting1686903 -
π¦ chore(poetry.lock): add new dev dependencies for better development environmentβ
Unverified signature- cfgv: for configuration validation and human readable error messages - distlib: for distribution utilities - identify: for file identification - nodeenv: for Node.js virtual environment building - platformdirs: for determining platform-specific directories - pre-commit: for managing and maintaining multi-language pre-commit hooks - setuptools: for easy package management These packages will enhance the development and testing process. π¦ chore(poetry.lock): add virtualenv package to the project dependencies This package is added to provide an isolated environment for Python projects, which is essential for managing dependencies and ensuring the application runs consistently across different setups.1a02040 -
π§ 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 -
π docs(README.md): update metadata and add link to configuration reference for better documentationβ
Unverified signatureπ§ chore(.gitattributes): add .gitattributes file to handle large files with Git LFS for better version control of large files125586f -
π docs: add README.md with metadata for better project documentation
Unverified signature6b3cd4b -
π 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