Skip to content

Commit f5c42a9

Browse files
authored
Merge pull request #58 from dennischenfeng/copilot-instructions-fix
Fixed error with get_prototyping_instructions_for_github_and_labs tool It solves issue #55
2 parents fbc354a + f2b8074 commit f5c42a9

File tree

1 file changed

+1
-1
lines changed
  • src/mcp_foundry/mcp_foundry_model

1 file changed

+1
-1
lines changed

src/mcp_foundry/mcp_foundry_model/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def get_prototyping_instructions_for_github_and_labs(ctx: Context) -> str:
231231
return f"Error fetching instructions from API: {response.status_code}"
232232

233233
copilot_instructions = response.json()
234-
return copilot_instructions["resource"]
234+
return copilot_instructions["resource"]["content"]
235235

236236
@mcp.tool()
237237
def get_model_quotas(subscription_id: str, location: str) -> list[dict]:

0 commit comments

Comments
 (0)