Skip to content

Conversation

paul-paliychuk
Copy link
Contributor

@paul-paliychuk paul-paliychuk commented Sep 26, 2024

Important

Append api/v2 suffix to base URLs in Zep and AsyncZep classes and update documentation for cloud-specific features.

  • Behavior:
    • Append api/v2 suffix to base_url in Zep and AsyncZep constructors in client.py.
    • If ZEP_API_URL environment variable is set, use it as the base URL with the suffix.
    • Otherwise, append the suffix to the provided base_url.
  • Documentation:
    • Update docstrings in memory/client.py to specify that fact_instruction and summary_instruction are Zep Cloud only features.

This description was created by Ellipsis for 7201b9a. It will automatically update as commits are pushed.

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Changes requested. Reviewed everything up to 7201b9a in 17 seconds

More details
  • Looked at 136 lines of code in 3 files
  • Skipped 0 files when reviewing.
  • Skipped posting 0 drafted comments based on config settings.

Workflow ID: wflow_XEy90cC7yyGVhkqO


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

base_url = f"{env_api_url}/api/v2"
api_url = f"{env_api_url}/{api_suffix}"
else:
api_url = f"${base_url}/{api_suffix}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The string interpolation here is incorrect. It should be an f-string without the dollar sign.

Suggested change
api_url = f"${base_url}/{api_suffix}"
api_url = f"{base_url}/{api_suffix}"

@paul-paliychuk paul-paliychuk merged commit cef27e9 into community Sep 26, 2024
1 of 2 checks passed
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