Skip to content

[Bug] Creating PC Assistants in EU region not working in Python client #427

Open

Description

@FPOscar

Is this a new bug?

  • I believe this is a new bug
  • I have searched the existing Github issues and Community Forum, and I could not find an existing post for this bug

Describe the bug

When specifying region="eu" in pc.assistant.create_assistant, unexpected keyword argument 'region' is returned.

It is possible to create EU assistants using curl however then when trying to upload files in python we get {"error":{"code":"NOT_FOUND","message":"Knowledge base not found"},"status":404}

Error information

TypeError: Assistant.create_assistant() got an unexpected keyword argument 'region'

Steps to reproduce the issue locally

Run:
from pinecone import Pinecone

pc = Pinecone(api_key="YOUR_API_KEY")

assistant = pc.assistant.create_assistant(
assistant_name="example-assistant",
instructions="Use American English for spelling and grammar.",
region="eu" # Region to deploy assistant. Options: "us" (default) or "eu".
timeout=30 # Maximum seconds to wait for assistant status to become "Ready" before timing out.
)

Environment

  • OS Version: Windows 10 Enterprise 10.0.19045
  • Python version: 3.12.5
  • Python SDK version: 5.4.2
  • Pinecone Assistant Plugin Version: 0.4.3

Activity

  1. added
    bug
    on Jan 2, 2025
  2. added
    status:needs-triage
    on Jan 2, 2025
  3. removed
    status:needs-triage
    on Mar 4, 2025
  4. anawishnoff commented on Mar 4, 2025

    @anawishnoff

    Thanks for filing - shared this with the Assistants team internally and will circle back with any updates.

  5. added
    status:needs-triage
    on Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugstatus:needs-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions