Skip to content

[WIP] v2#1005

Open
Undertone0809 wants to merge 85 commits into
mainfrom
v2
Open

[WIP] v2#1005
Undertone0809 wants to merge 85 commits into
mainfrom
v2

Conversation

@Undertone0809

@Undertone0809 Undertone0809 commented Oct 23, 2024

Copy link
Copy Markdown
Owner

ref issue: #1055

Checkpoints

Optional:

Documentation

  • README.md: added links to all available use case README files.
  • CLUADE.md: corrected to CLAUDE.md and linked docs/use case entry points via AGENTS include.

- Add information about the built-in log system
- Include log storage path for macOS

This update provides clearer documentation on where and how logs are stored, including the addition of the macOS path.
- Remove dependency on BaseLLM class
- Update description to clarify input requirements
- Simplify initialization method
- Modify _run method to directly evaluate expressions

This refactor simplifies the Calculator class by removing unnecessary dependencies and clarifying its purpose. It now directly evaluates mathematical expressions without relying on an LLM for input processing.
@vercel

vercel Bot commented Oct 23, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
promptulate Error Error Apr 7, 2026 0:02am

- Remove caching logic from Config class
- Simplify OpenAI API key retrieval to only use environment variables
- Update ErnieBot API wrapper to use listdict_messages directly
- Remove retry logic and caching from API key retrieval methods

This refactor improves code readability and maintainability by removing unnecessary caching and retry mechanisms, simplifying the API key retrieval process, and updating the ErnieBot API wrapper to use a more straightforward approach.
- Removed logging of model configuration to avoid redundancy.

chore: remove OpenAI key management module

- Deleted the `openai_key_pool.py` file and related imports.
- Removed associated test cases and references.

This change simplifies the codebase by eliminating unused functionality.

chore: update contact email in core utilities

- Changed contact email from `zeeland@foxmail.com` to `zeeland4work@gmail.com`.

chore: reorganize imports in utility module

- Removed unused imports from `__init__.py`.
- Ensured only necessary modules are exposed in the `__all__` list.

This change improves code readability and maintainability.
Repository owner deleted a comment from coderabbitai Bot Oct 23, 2024
- Change domain from 'www.promptulate.cn' to 'promptulate.cn'

This change updates the custom domain configuration to reflect the new domain name. It ensures that the project is accessible via the correct domain without the 'www' prefix.
- Add 'Version' dropdown to navigation bar
- Update home page title to 'Promptulate v2'

This commit updates the documentation to reflect the changes for the v2 release, including adding version-specific links in the navigation bar and updating the home page title.
- Delete conversation logic and prompt templates
- Remove schema definitions for conversation framework
- Deprecate Conversation class in favor of new approach

This refactor removes the existing conversation framework to streamline the codebase and prepare for integration with a new system or approach. The changes include deleting the main conversation logic, prompt templates, and schema definitions, and marking the Conversation class as deprecated.
- Change output_schema type in chat.py to Type[BaseModel]
- Update parse_content return type in _litellm.py to Tuple[str, dict]

These changes improve type safety and align with best practices for type annotations in Python.
- Move MESSAGE_TYPE dictionary to MessageSet class
- Remove unused init_chat_message_history function

This refactor improves code organization by centralizing message type mappings within the MessageSet class and removes dead code, enhancing maintainability.
- Add options object to search provider
- Implement GA tracking for search queries

This change integrates Google Analytics tracking for search events, allowing the collection of search term data for analysis. It enhances the analytics capabilities of the documentation site.
- Standardize indentation and formatting in VitePress config
- Add scrollbar hiding styles for sidebar in theme CSS

These changes enhance the codebase's maintainability and improve the user experience by hiding the sidebar scrollbar.
- Import 'Plus Jakarta Sans' font from Google Fonts
- Update --vp-font-family-base variable to use 'Plus Jakarta Sans'

This change enhances the visual consistency of the documentation site by applying a new font family across all elements.
- Change --vp-c-brand-soft color from #8b4424 to #844c33

This change adjusts the brand soft color to a slightly darker shade, improving visual consistency with the rest of the brand colors.
- Introduce a new section titled 'Best Practices' in the documentation
- Emphasize the importance of understanding 'know-why' over 'know-how'
- Highlight promptulate as a resource for learning best practices

This update enhances the documentation by providing valuable insights into best practices, which can help users better understand and apply the framework.
- Change dependency update interval from weekly to monthly
- Affects pip, github-actions, and docker ecosystems

This change reduces the frequency of dependency updates, potentially lowering the number of automated pull requests and reducing noise in the repository.
- Refactor analytics script inclusion into reusable function
- Update Open Graph and Twitter card meta tags
- Change og:image and twitter:image to use relative path '/banner.png'

This refactor improves code maintainability by consolidating the analytics scripts into a single function. The meta tag updates enhance social media sharing previews by ensuring consistent and accurate metadata.
Co-Authored-By: OpenAI Codex <noreply@openai.com>
- Stream assistant text through Rich Live with live Markdown refresh
- Color panels for tool calls (JSON) and tool output; step rules
- Add --plain for non-Rich stdout; quiet mode prints final once
- Add pne[mcp] extra, McpClient and build_mcp_tools; tests for MCP
- Expand advanced/local tools and test coverage; lock Rich deps
When backends emit tool names not in the registry (e.g. Skill), return a
structured tool error with available_tools so the model can continue.
Covers sync run and async run_stream; add regression tests.
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.

1 participant