mirror of
https://github.com/wshobson/agents.git
synced 2026-03-18 09:37:15 +00:00
feat(llm-application-dev): modernize to LangGraph and latest models v2.0.0
- Migrate from LangChain 0.x to LangChain 1.x/LangGraph patterns - Update model references to Claude 4.5 and GPT-5.2 - Add Voyage AI as primary embedding recommendation - Add structured outputs with Pydantic - Replace deprecated initialize_agent() with StateGraph - Fix security: use AST-based safe math instead of unsafe execution - Add plugin.json and README.md for consistency - Bump marketplace version to 1.3.3
This commit is contained in:
@@ -113,9 +113,9 @@ Final Response: [Refined]
|
||||
|
||||
### 5. Model-Specific Optimization
|
||||
|
||||
**GPT-5/GPT-4o**
|
||||
**GPT-5.2**
|
||||
```python
|
||||
gpt4_optimized = """
|
||||
gpt5_optimized = """
|
||||
##CONTEXT##
|
||||
{structured_context}
|
||||
|
||||
@@ -566,7 +566,7 @@ testing_recommendations:
|
||||
metrics: ["accuracy", "satisfaction", "cost"]
|
||||
|
||||
deployment_strategy:
|
||||
model: "GPT-5 for quality, Claude for safety"
|
||||
model: "GPT-5.2 for quality, Claude 4.5 for safety"
|
||||
temperature: 0.7
|
||||
max_tokens: 2000
|
||||
monitoring: "Track success, latency, feedback"
|
||||
|
||||
Reference in New Issue
Block a user