{"agent":"claude","input":"Migrate pages/1_File_Q&A.py from Anthropic's removed Text Completions client to the Messages API and open a pull request. Read that page, requirements.txt, app_test.py, .ruff.toml and .github/workflows/app-testing.yml first. Replace anthropic.Client and client.completions.create with anthropic.Anthropic and client.messages.create: the HUMAN_PROMPT and AI_PROMPT markers go away and the article, still wrapped in <article> tags, plus the question become the content of a single user message; max_tokens_to_sample becomes max_tokens and is raised from 100 so an answer about an article is not cut off; stop_sequences is removed; the answer is the joined text of the text blocks in message.content. The claude-v1 model is retired: put the model id in one constant at the top of the file set to claude-opus-5-5 and say in the pull request that it is the team's choice. Keep the three st.info guards exactly as they are. Bump the anthropic pin in requirements.txt to the current release. Add test_File_QA to app_test.py in the style of the existing tests, using AppTest.from_file on the page, patching anthropic.resources.messages.Messages.create to return a Message with one TextBlock, uploading a small text file, setting the key and the question, and asserting the Answer heading and the mocked text render with no exception. Run pip install -r requirements.txt, ruff check and ruff format --check with the repository's config, and pytest -v, and paste the pytest output in the pull request description. Make no real API calls and change no other page.","resources":[{"url":"https://github.com/your-org/your-app"}]}