Skip to content

init_llm(...) does not work in 7.2.0 #111

Description

@zhaoyang868686

Checklist

Describe the Bug

https://help.sap.com/doc/generative-ai-hub-sdk/CLOUD/en-US/_reference/gen_ai_hub.html#harmonized-model-initialization

It seems that init_llm(...) works as expected with Python SDK 6.10.0, but no longer works with 7.2.0.

Steps to Reproduce

  1. Setup Python SDK 7.2.0
  2. Try init_llm(...) with this example.
  3. An error occurred while initializing the LLM: 'NoneType' object has no attribute 'deployment_class'.

Expected Behavior

An error occurred while initializing the LLM: 'NoneType' object has no attribute 'deployment_class'.

Screenshots

No response

Used Versions

Python SDK 7.2.0

Code Examples

No response

Log File

No response

Region

Not listed above

Affected Development Phase

Development

Impact

No Impact

Timeline

No response

Additional Context

No response

Activity

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions