-
Notifications
You must be signed in to change notification settings - Fork 986
docs: improve README with quick start steps and SDK usage example #1574
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: x/usage-based-limits
Are you sure you want to change the base?
Conversation
…nt query bandwidth
Added entry for new include_embeddings parameter in document APIs for bandwidth optimization. This allows users to exclude embeddings from API responses when not needed. Co-authored-by: Ahmad Haidar <[email protected]>
- Updated Chinese (README-CN.md), French (README-FR.md), and Japanese (README-JA.md) translations - Synchronized all translations with the current concise marketing-focused format - Maintained accurate translations while ensuring identical structure and content - All translation files now properly reflect the current Julep platform description and features 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Added entry for include_embeddings parameter in document search request models for bandwidth optimization. This allows users to exclude embeddings from search API responses when not needed. Co-authored-by: Ahmad Haidar <[email protected]>
Added changelog entry for extending include_embeddings parameter to document search endpoints, providing additional bandwidth optimization capabilities for search operations. Co-authored-by: Ahmad Haidar <[email protected]>
chore: restructure project folders and update README
- Add missing Table of Contents section to all translated READMEs - Add missing GIF image before Community section in all translated READMEs - Ensure all translated files have exact same structure as root README.md - Translations: Chinese (CN), French (FR), Japanese (JA)
- Fixed malformed Table of Contents in all three translated README files - Replaced JWT-based image URLs with consistent white-line.gif separators - Ensured all translated files now match the exact structure of root README.md - Languages updated: Chinese (CN), French (FR), Japanese (JA) Co-authored-by: undefined <[email protected]>
- Move Table of Contents to correct position after "Try Julep Today" section - Remove duplicate white line GIF before Community sections - Ensure all translated READMEs have identical structure to root README.md - Chinese, French, and Japanese translations now properly aligned Co-authored-by: undefined <[email protected]>
…and error handling
feat: add MCP integration with http and sse support
F/mcp integration
feat: implement async email sending with enhanced HTML support
…ing in prompt step settings
…or-wrong-model-name X/fix error handling for wrong model name
…nto x/fix-gpt5-chat
…ests fix(agents-api): update model validation import path in tests to common utils
X/fix gpt5 chat
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Generated with ❤️ by ellipsis.dev |
User description
Summary
This PR updates the README to make it easier for new developers to get started with Julep.
It adds clearer quick start steps, SDK installation examples, and a minimal workflow example for Python.
Changes
Why This Change?
Example Snippet Added
File Walkthrough
8 files
11-hacker-news-personalized-generator.ipynb
New Hacker News personalized newsletter generator cookbook
cookbooks/advanced/11-hacker-news-personalized-generator.ipynb
• Added a new comprehensive Jupyter notebook for a Hacker News
personalized newsletter generator
• Implements a complex workflow that
fetches top stories, scrapes content, analyzes relevance, and
generates summaries
• Includes detailed documentation with overview,
features, and step-by-step workflow explanation
• Uses multiple
integrations including Spider web scraping and parallel processing for
efficiency
02-Simple-Task.ipynb
New simple task basic cookbook
cookbooks/basics/02-Simple-Task.ipynb
• Added new basic cookbook demonstrating simple task creation
•
Includes YAML task definition for echo functionality
• Shows execution
creation and status checking
• Contains related concepts section with
documentation links
01-Hello-Agent.ipynb
New hello agent basic cookbook
cookbooks/basics/01-Hello-Agent.ipynb
• Added new basic cookbook showing fundamental agent creation
•
Demonstrates client initialization, agent creation, and session chat
•
Includes related concepts section with documentation links
• Provides
minimal working example for beginners
05-RAG-and-Docs.ipynb
Add new RAG and documents demonstration notebook
cookbooks/basics/05-RAG-and-Docs.ipynb
• Created new notebook demonstrating Retrieval Augmented Generation
with documents
• Added session creation with vector recall
configuration
• Included "Related Concepts" section with documentation
links
04-Parallel-Steps.ipynb
Add new parallel steps demonstration notebook
cookbooks/basics/04-Parallel-Steps.ipynb
• Created new notebook showing parallel step execution example
• Added
YAML task definition with
map
andparallelism
configuration• Included
"Related Concepts" section with documentation links
03-Adding-Tools.ipynb
Add new tool integration demonstration notebook
cookbooks/basics/03-Adding-Tools.ipynb
• Created new notebook demonstrating tool attachment to agents
• Added
Wikipedia integration tool creation example
• Included "Related
Concepts" section with documentation links
Tools.py
Add Google Sheets and MCP integrations with enhanced API features
src/agents-api/agents_api/autogen/Tools.py
• Added
secrets
field toApiCallDef
andApiCallDefUpdate
for secretreferences
• Added
params_schema
field for API call parametervalidation
• Added support for "mcp" and "google_sheets" integration
providers
• Added comprehensive Google Sheets integration classes with
CRUD operations
• Added MCP (Model Context Protocol) integration
classes
• Added
ParameterSchema
andPropertyDefinition
classes forschema validation
• Added
SecretRef
classes for secret managementTools.py
Mirror Google Sheets and MCP integrations in integrations service
src/integrations-service/integrations/autogen/Tools.py
• Added
secrets
andparams_schema
fields to API call definitions•
Added "mcp" and "google_sheets" to supported integration providers
•
Added complete Google Sheets integration with read/write/batch
operations
• Added MCP integration for Model Context Protocol support
• Added parameter schema validation classes
• Added secret reference
management classes
9 files
06-browser-use.ipynb
Streamlined browser use cookbook documentation
cookbooks/advanced/06-browser-use.ipynb
• Removed extensive documentation and overview sections from the
notebook header
• Simplified markdown content by removing detailed
task flow descriptions and feature explanations
• Updated API key
handling to use environment variables instead of hardcoded values
•
Added related concepts section with documentation links
09-companion-agent.ipynb
Simplified companion agent cookbook structure
cookbooks/advanced/09-companion-agent.ipynb
• Removed comprehensive documentation header with task definitions and
flow descriptions
• Simplified client creation section title and
removed API key instructions
• Fixed YAML schema reference path and
corrected output references in task definition
• Added execution
status checking with time.sleep loop and related concepts section
02-sarcastic-news-headline-generator.ipynb
Streamlined sarcastic news generator cookbook
cookbooks/advanced/02-sarcastic-news-headline-generator.ipynb
• Removed detailed task overview and implementation documentation from
notebook header
• Simplified client creation section and removed API
key acquisition instructions
• Updated YAML schema reference path to
use correct source location
• Added related concepts section with
documentation links at the end
07-personalized-research-assistant.ipynb
Simplified research assistant cookbook structure
cookbooks/advanced/07-personalized-research-assistant.ipynb
• Removed extensive task definition documentation and flow diagrams
from header
• Updated API key handling to use environment variables
for Brave and LlamaParse
• Fixed YAML schema reference path and
removed detailed explanatory notes
• Added related concepts section
with documentation links
05-video-processing-with-natural-language.ipynb
Streamlined video processing cookbook documentation
cookbooks/advanced/05-video-processing-with-natural-language.ipynb
• Removed comprehensive task overview and implementation documentation
• Updated environment variable usage for Cloudinary API credentials
•
Fixed YAML schema reference path and removed explanatory notes
• Added
related concepts section (with a typo in the last link)
00-Devfest-Email-Assistant.ipynb
Streamline notebook by removing header documentation and
implementation notes
cookbooks/advanced/00-Devfest-Email-Assistant.ipynb
• Removed extensive header section with branding, badges, and task
overview documentation
• Removed implementation notes about UUIDs and
step references
• Simplified notebook structure by removing
descriptive markdown cells
• Added "Related Concepts" section with
documentation links at the end
01-website-crawler.ipynb
Clean up notebook by removing verbose documentation header
cookbooks/advanced/01-website-crawler.ipynb
• Removed comprehensive header with branding, task definition, and
flow diagrams
• Removed UUID management notes and implementation
details
• Simplified client creation section title
• Added "Related
Concepts" section with documentation links
sync_model_docs.py
Model documentation synchronization script for LiteLLM integration
src/scripts/sync_model_docs.py
• New script to synchronize model information from
litellm-config.yaml
to documentation
• Fetches pricing and feature data from LiteLLM's
GitHub repository
• Generates markdown tables for models grouped by
provider with feature support indicators
• Includes cost tier
classification and context window formatting
• Updates the
supported-models.mdx
documentation file automaticallysessions.py
Documentation and type annotation improvements for session exceptions
src/agents-api/agents_api/common/exceptions/sessions.py
• Added AIDEV-NOTE comments for documentation purposes
• Added
explicit return type annotation (
-> None
) toSessionNotFoundError.init
method• No functional changes, only
documentation and type annotation improvements
1 files
list_entries.py
Fixed mutable default arguments in list_entries function
src/agents-api/agents_api/queries/entries/list_entries.py
• Fixed mutable default arguments by changing list parameters to None
with proper initialization
• Added conditional initialization for
allowed_sources
andexclude_relations
parameters• Includes
explanatory comment about avoiding mutable default arguments
5 files
test_chat_streaming.py
Add comprehensive test suite for chat streaming functionality
src/agents-api/tests/test_chat_streaming.py
• Created comprehensive test suite for chat streaming functionality
•
Added tests for streaming response format, document references, and
usage tracking
• Added helper functions for collecting stream content
and managing usage records
• Added tests for custom API key usage and
developer tag tracking
• Added database integration tests for usage
record creation
fixtures.py
Enhance test fixtures with project support and secret management
src/agents-api/tests/fixtures.py
• Added
test_project
fixture for project-related testing• Updated
test_agent
fixture to include project association• Added
custom_scope_id
fixture and updated execution fixtures• Added
clean_secrets
fixture for secret management testing• Updated model
validation patch path reference
test_task_execution_workflow.py
Test updates for workflow execution with database connection handling
src/agents-api/tests/test_task_execution_workflow.py
• Added
functools
import and custombase_evaluate_with_pool
functionfor database connection handling
• Updated test mocks to handle
workflow context exceptions with
_NotInWorkflowEventLoopError
•
Modified activity execution calls to include additional parameters
like
developer_id
,agent_id
,task_id
• Updated test assertions to
match new parameter structure for integration and system calls
• Added
database pool creation and connection handling in evaluation tests
test_middleware.py
New middleware test suite for usage and cost validation
src/agents-api/tests/test_middleware.py
• Added comprehensive test suite for HTTP middleware functionality
•
Tests cover usage cost checking, user account validation, and cost
limit enforcement
• Includes tests for different user types (free,
paid, inactive) and request methods
• Tests middleware behavior for
session creation/deletion with cost limits
• Validates proper error
handling and response codes for various scenarios
test_mcp.py
MCP integration test suite with transport and tool testing
src/integrations-service/tests/test_mcp.py
• New comprehensive test suite for MCP (Model Context Protocol)
integration
• Tests MCP provider registration, tool listing, and tool
execution functionality
• Includes tests for HTTP and SSE transport
connections with proper mocking
• Validates timeout handling, error
scenarios, and response normalization
• Tests SDK availability checks
and transport validation
1 files
Tasks.py
Auto-generated model updates with formatting and default changes
src/agents-api/agents_api/autogen/Tasks.py
• Added import for
JinjaTemplate
from.Common
module• Reformatted
field definitions with better line breaks for readability
• Removed
continue_
field fromPromptItem
class• Changed default value of
auto_run_tools
fromTrue
toFalse
inPromptStep
andPromptStepUpdateItem
classes• Updated documentation comments to
reflect the new default behavior
1 files
Agents.py
Auto-generated agent models and request/response schemas
src/agents-api/agents_api/autogen/Agents.py
• New auto-generated file containing Pydantic models for agent-related
operations
• Defines models for
Agent
,CreateAgentRequest
,UpdateAgentRequest
,PatchAgentRequest
• Includes model information
classes like
ModelInfo
andListModelsResponse
• Contains comprehensive
field validation and documentation for agent properties
101 files