(path: string)
| 40 | |
| 41 | export const getCodeExamples = async (run: any) => { |
| 42 | const fetchGithubFile = async (path: string) => { |
| 43 | const response = await fetch( |
| 44 | `https://raw.githubusercontent.com/Surfer-Org/Protocol/main/${path}` |
| 45 | ); |
| 46 | return response.text(); |
| 47 | }; |
| 48 | |
| 49 | const claudePath = 'cookbook/python/claude-mcp/README.md'; |
| 50 | const claudeCode = await fetchGithubFile(claudePath); |