mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-10 03:37:51 +02:00
x
This commit is contained in:
@@ -10,7 +10,7 @@ response = requests.get(URL)
|
||||
response.raise_for_status()
|
||||
reference_snippets = response.text
|
||||
|
||||
model = ChatAnthropic(model="claude-3-5-sonnet-latest")
|
||||
model = ChatAnthropic(model="claude-sonnet-4-0", max_tokens=64_000)
|
||||
|
||||
|
||||
def main(file_path: str) -> None:
|
||||
@@ -44,6 +44,7 @@ def main(file_path: str) -> None:
|
||||
"Here are the reference TypeScript snippets:\n\n"
|
||||
f"{reference_snippets}\n\n"
|
||||
),
|
||||
"cache_control": {"type": "ephemeral"},
|
||||
},
|
||||
{"role": "user", "content": markdown_content},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user