Open Undertone0809 opened 4 months ago
Now pne cannot use stream + output_schema. For example:
import pne from pydantic import BaseModel class LLMResponse(BaseModel): content: str = Field(..., description="LLM response content") response = pne.chat(model="gpt-4o", stream=True, output_schema=LLMResponse)
It will get error if you run this example.
This feature should build after #625.
Bot detected the issue body's language is not English, translate it automatically. 625
Bot detected the issue body's language is not English, translate it automatically.
🚀 Feature Request
Now pne cannot use stream + output_schema. For example:
It will get error if you run this example.
This feature should build after #625.